Skip to content

Minor improvements to sgx_init()

Kai Huang linux-sgx lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/sgx: Start the ksgxd() at the end of sgx_init()arch/x86/kernel/cpu/sgx/main.c+19 -220 replies
2/3x86/sgx: Only run the reclaimer when the native SGX driver is enabledarch/x86/kernel/cpu/sgx/driver.c arch/x86/kernel/cpu/sgx/driver.h arch/x86/kernel/cpu/sgx/main.c+20 -50 replies
3/3x86/sgx: Add xa_store_range() return value check in sgx_setup_epc_section()arch/x86/kernel/cpu/sgx/main.c+6 -23 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Minor improvements to sgx_init()

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

Signature · 1 line
2.37.1