mbox series

[0/3] Minor improvements to sgx_init()

Message ID cover.1664834225.git.kai.huang@intel.com (mailing list archive)
Headers show
Series Minor improvements to sgx_init() | expand

Message

Huang, Kai Oct. 3, 2022, 10:04 p.m. UTC
Hi,

Patch 1 and 2 are the improvements around EPC page reclaimer (as I
mentioned to do couple of weeks ago).  Patch 3 is the RESEND of a
previous patch to add a missing error check.

This series is based on latest Linus's upstream tree, but not
tip/x86/sgx, as the latter doesn't have 2 patches that Dave sent to
Linus for 6.0-rc8.

Kai Huang (3):
  x86/sgx: Start the ksgxd() at the end of sgx_init()
  x86/sgx: Only run the reclaimer when the native SGX driver is enabled
  x86/sgx: Add xa_store_range() return value check in
    sgx_setup_epc_section()

 arch/x86/kernel/cpu/sgx/driver.c | 13 ++++---
 arch/x86/kernel/cpu/sgx/driver.h |  1 +
 arch/x86/kernel/cpu/sgx/main.c   | 58 +++++++++++++++++++-------------
 3 files changed, 44 insertions(+), 28 deletions(-)


base-commit: f3dfe925f9548a4337883926db542ccf4ca55fe1