public inbox for linux-sgx@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] SGX NUMA fix
@ 2024-09-05  8:08 Aaron Lu
  2024-09-05  8:08 ` [PATCH v2 1/2] x86/sgx: Fix deadlock in SGX NUMA node search Aaron Lu
  2024-09-05  8:08 ` [PATCH v2 2/2] x86/sgx: Log information when a node lacks an EPC section Aaron Lu
  0 siblings, 2 replies; 7+ messages in thread
From: Aaron Lu @ 2024-09-05  8:08 UTC (permalink / raw)
  To: Jarkko Sakkinen, Dave Hansen, Kai Huang
  Cc: Molina Sabido, Gerardo, Zhimin Luo, linux-sgx, linux-kernel, x86

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-05 22:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05  8:08 [PATCH v2 0/2] SGX NUMA fix Aaron Lu
2024-09-05  8:08 ` [PATCH v2 1/2] x86/sgx: Fix deadlock in SGX NUMA node search Aaron Lu
2024-09-05 14:21   ` Jarkko Sakkinen
2024-09-05  8:08 ` [PATCH v2 2/2] x86/sgx: Log information when a node lacks an EPC section Aaron Lu
2024-09-05 14:24   ` Jarkko Sakkinen
2024-09-05 19:02     ` Dave Hansen
2024-09-05 22:16   ` Huang, Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox