Skip to content

x86/sgx: Test and fixes

Jarkko Sakkinen linux-kselftest linux-sgx lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 49 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/sgx: Do not consider unsanitized pages an errorarch/x86/kernel/cpu/sgx/main.c+13 -625 replies
2/6x86/sgx: Handle VA page allocation failure for EAUG on PF.arch/x86/kernel/cpu/sgx/encl.c+4 -11 reply
3/6selftests/sgx: Ignore OpenSSL 3.0 deprecated functions warningtools/testing/selftests/sgx/sigstruct.c+6 -02 replies
4/6selftests/sgx: Add SGX selftest augment_via_eaccept_longtools/testing/selftests/sgx/load.c tools/testing/selftests/sgx/main.c tools/testing/selftests/sgx/main.h +1 more+129 -227 replies
5/6selftests/sgx: retry the ioctls returned with EAGAINtools/testing/selftests/sgx/main.c+30 -96 replies
6/6selftests/sgx: Add a bpftrace script for tracking allocation errorstools/testing/selftests/sgx/alloc-error.bt+7 -08 replies

Reviews trailers per patch

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

PatchPaul MenzelVijay DhanrajJarkko SakkinenReinette Chatre
1/6T-b
2/6T-b R-b
3/6
4/6
5/6T-b
6/6

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 v1 thread

Cover letter [PATCH 0/6] x86/sgx: Test and fixes

A collection of tests and fixes for SGX.

Haitao Huang (2):
x86/sgx: Handle VA page allocation failure for EAUG on PF. selftests/sgx: retry the ioctls returned with EAGAIN

Jarkko Sakkinen (2):
x86/sgx: Do not consider unsanitized pages an error selftests/sgx: Add a bpftrace script for tracking allocation errors

Kristen Carlson Accardi (1):
selftests/sgx: Ignore OpenSSL 3.0 deprecated functions warning

Vijay Dhanraj (1):
selftests/sgx: Add SGX selftest augment_via_eaccept_long

 arch/x86/kernel/cpu/sgx/encl.c             |   5 +-
 arch/x86/kernel/cpu/sgx/main.c             |  19 ++-
 tools/testing/selftests/sgx/alloc-error.bt |   7 +
 tools/testing/selftests/sgx/load.c         |   5 +-
 tools/testing/selftests/sgx/main.c         | 180 +++++++++++++++++----
 tools/testing/selftests/sgx/main.h         |   3 +-
 tools/testing/selftests/sgx/sigstruct.c    |   8 +-
 7 files changed, 189 insertions(+), 38 deletions(-)
 create mode 100644 tools/testing/selftests/sgx/alloc-error.bt
Signature · 1 line
2.37.2