mbox series

[for_v25,0/4] x86/sgx: Reclaim bug fix and cleanup

Message ID 20191221003156.27236-1-sean.j.christopherson@intel.com (mailing list archive)
Headers show
Series x86/sgx: Reclaim bug fix and cleanup | expand

Message

Sean Christopherson Dec. 21, 2019, 12:31 a.m. UTC
One bug fix in the SECS reclaim path and loosely related cleanup.

Sean Christopherson (4):
  x86/sgx: Put SECS backing iff retrieving the backing succeeds
  x86/sgx: Use goto to handle sgx_encl_get_backing() failure in SECS
    flows
  x86/sgx: Drop unused @encl parameter from __sgx_encl_ewb()
  x86/sgx: Pre-calculate VA slot virtual address in sgx_encl_ewb()

 arch/x86/kernel/cpu/sgx/reclaim.c | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

Comments

Jarkko Sakkinen Jan. 2, 2020, 5:06 p.m. UTC | #1
On Fri, Dec 20, 2019 at 04:31:52PM -0800, Sean Christopherson wrote:
> One bug fix in the SECS reclaim path and loosely related cleanup.
> 
> Sean Christopherson (4):
>   x86/sgx: Put SECS backing iff retrieving the backing succeeds
>   x86/sgx: Use goto to handle sgx_encl_get_backing() failure in SECS
>     flows
>   x86/sgx: Drop unused @encl parameter from __sgx_encl_ewb()
>   x86/sgx: Pre-calculate VA slot virtual address in sgx_encl_ewb()
> 
>  arch/x86/kernel/cpu/sgx/reclaim.c | 29 ++++++++++++++---------------
>  1 file changed, 14 insertions(+), 15 deletions(-)
> 
> -- 
> 2.24.1
> 

Thank you. I merged these and added a changelog entry describing the bug
that was fixed.

/Jarkko