[PATCH v2 0/2] SGX NUMA fix

From: Aaron Lu
Date: Thu Sep 05 2024 - 04:14:10 EST


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(-)

--
2.45.2