Skip to content

SGX NUMA fix

Aaron Lu linux-sgx lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Changes in v2 from the cover letter

- Enhance changelog for patch1/2 according to Kai, Dave and Jarkko's suggestions;
- Fix Reported-by tag, it should be Gerardo. Sorry for the mistake.
- Collect review tags.
- Add patch2/2.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/sgx: Fix deadlock in SGX NUMA node searcharch/x86/kernel/cpu/sgx/main.c+14 -131 reply
2/2x86/sgx: Log information when a node lacks an EPC sectionarch/x86/kernel/cpu/sgx/main.c+7 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchZhimin LuoKai HuangDave HansenJarkko Sakkinen
1/2T-b R-b A-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] SGX NUMA fix

Hi,

A soft lockup issue was found during some SGX testing and it turned out to be a problem in SGX code related to NUMA, please see patch1/2 for details.

While Dave reviewed v1 of patch1/2, he suggested dumping an info when a node has both CPUs and memory but no EPC section, so that's patch2/2.

Comments are welcome, thanks.

v2:
- Enhance changelog for patch1/2 according to Kai, Dave and Jarkko's suggestions;
- Fix Reported-by tag, it should be Gerardo. Sorry for the mistake.
- Collect review tags.
- Add patch2/2.

Aaron Lu (2):
x86/sgx: Fix deadlock in SGX NUMA node search x86/sgx: Log information when a node lacks an EPC section

 arch/x86/kernel/cpu/sgx/main.c | 34 +++++++++++++++++++++-------------
 1 file changed, 21 insertions(+), 13 deletions(-)
Signature · 1 line
2.45.2