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

Jarkko Sakkinen
2022-08-30T03:12:25Z

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

--
2.37.2