Skip to content

x86/sgx: A collection of tests and fixes

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 31 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6selftests/sgx: Ignore OpenSSL 3.0 deprecated functions warningtools/testing/selftests/sgx/sigstruct.c+6 -00 replies
2/6x86/sgx: Do not consider unsanitized pages an errorarch/x86/kernel/cpu/sgx/main.c+35 -714 replies
3/6x86/sgx: Handle VA page allocation failure for EAUG on PF.arch/x86/kernel/cpu/sgx/encl.c+4 -14 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+130 -216 replies
5/6selftests/sgx: retry the ioctls returned with EAGAINtools/testing/selftests/sgx/main.c+34 -81 reply
6/6selftests/sgx: Add a bpftrace script for tracking allocation errorstools/testing/selftests/sgx/alloc-error.bt+9 -02 replies

Reviews trailers per patch

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

PatchVijay DhanrajReinette Chatre
1/6
2/6
3/6T-b R-b
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] x86/sgx: A collection of tests and fixes

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             |  42 ++++-
 tools/testing/selftests/sgx/alloc-error.bt |   9 +
 tools/testing/selftests/sgx/load.c         |   5 +-
 tools/testing/selftests/sgx/main.c         | 185 ++++++++++++++++++---
 tools/testing/selftests/sgx/main.h         |   3 +-
 tools/testing/selftests/sgx/sigstruct.c    |   6 +
 7 files changed, 218 insertions(+), 37 deletions(-)
 create mode 100644 tools/testing/selftests/sgx/alloc-error.bt
Signature · 1 line
2.37.2