mbox series

[v2,0/2] SGX NUMA fix

Message ID 20240905080855.1699814-1-aaron.lu@intel.com (mailing list archive)
Headers show
Series SGX NUMA fix | expand

Message

Aaron Lu Sept. 5, 2024, 8:08 a.m. UTC
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(-)