Skip to content

Test a large dynamic heap

Jarkko Sakkinen linux-kselftest linux-sgx lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 13 repliesIn review
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Use dynamic heap in tcs_create test.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5selftests/sgx: Retry the ioctl()'s returned with EAGAINtools/testing/selftests/sgx/main.c+34 -87 replies
2/5selftests/sgx: Move ENCL_HEAP_SIZE_DEFAULT to main.ctools/testing/selftests/sgx/main.c tools/testing/selftests/sgx/main.h+1 -21 reply
3/5selftests/sgx: Use encl->encl_size in sigstruct.ctools/testing/selftests/sgx/load.c tools/testing/selftests/sgx/main.h tools/testing/selftests/sgx/sigstruct.c+5 -91 reply
4/5selftests/sgx: Include the dynamic heap size to the ELRANGE calculationtools/testing/selftests/sgx/load.c tools/testing/selftests/sgx/main.c tools/testing/selftests/sgx/main.h+20 -101 reply
5/5selftests/sgx: Add SGX selftest augment_via_eaccept_longtools/testing/selftests/sgx/main.c+111 -13 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchJarkko SakkinenReinette Chatre
1/5T-b
2/5A-b
3/5R-b
4/5R-b
5/5

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/5] Test a large dynamic heap

Implement functionality to define a dynamic heap for the test enclave. Then, implement a new augmentation test for a large dynamic heap.

1/5 is critical for v6.0. More information in the patch change log.

v2:
* Use dynamic heap in tcs_create test.

Haitao Huang (1):
selftests/sgx: Retry the ioctl()'s returned with EAGAIN

Jarkko Sakkinen (3):
selftests/sgx: Move ENCL_HEAP_SIZE_DEFAULT to main.c selftests/sgx: Use encl->encl_size in sigstruct.c selftests/sgx: Include the dynamic heap size to the ELRANGE
calculation

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

 tools/testing/selftests/sgx/load.c      |   8 +-
 tools/testing/selftests/sgx/main.c      | 177 +++++++++++++++++++++---
 tools/testing/selftests/sgx/main.h      |   6 +-
 tools/testing/selftests/sgx/sigstruct.c |   8 +-
 4 files changed, 170 insertions(+), 29 deletions(-)
Signature · 1 line
2.37.2