mbox series

[v4,0/2] Take away EREMOVE from sgx_free_epc_page()

Message ID 20210113233541.17669-1-jarkko@kernel.org (mailing list archive)
Headers show
Series Take away EREMOVE from sgx_free_epc_page() | expand

Message

Jarkko Sakkinen Jan. 13, 2021, 11:35 p.m. UTC
From: "jarkko@kernel.org" <jarkko@kernel.org>

Refactor EREMOVE out of sgx_free_epc_page() since it is only used in
one function.

v4:
- No code changes to v4. Re-send because of
  "-to linux@sgx.vger.kernel.org"

jarkko@kernel.org (2):
  x86/sgx: Remove a warn from sgx_free_epc_page()
  x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

 arch/x86/kernel/cpu/sgx/encl.c | 13 +++++++++++++
 arch/x86/kernel/cpu/sgx/main.c | 12 ++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)