Skip to content

RFC x86/sgx: Add short descriptions to ENCLS wrappers

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest30 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30x86/sgx: Add short descriptions to ENCLS wrappersarch/x86/kernel/cpu/sgx/encls.h+15 -03 replies
2/30x86/sgx: Add wrapper for SGX2 EMODPR functionarch/x86/include/asm/sgx.h arch/x86/kernel/cpu/sgx/encls.h+11 -00 replies
3/30x86/sgx: Add wrapper for SGX2 EMODT functionarch/x86/kernel/cpu/sgx/encls.h+6 -00 replies
4/30x86/sgx: Add wrapper for SGX2 EAUG functionarch/x86/kernel/cpu/sgx/encls.h+6 -00 replies
5/30Documentation/x86: Document SGX permission detailsDocumentation/x86/sgx.rst+23 -50 replies
6/30x86/sgx: Support VMA permissions more relaxed than enclave permissionsDocumentation/x86/sgx.rst arch/x86/kernel/cpu/sgx/encl.c+30 -180 replies
7/30x86/sgx: Add pfn_mkwrite() handler for present PTEsarch/x86/kernel/cpu/sgx/encl.c+42 -00 replies
8/30x86/sgx: Export sgx_encl_ewb_cpumask()arch/x86/kernel/cpu/sgx/encl.c arch/x86/kernel/cpu/sgx/encl.h arch/x86/kernel/cpu/sgx/main.c+68 -290 replies
9/30x86/sgx: Rename sgx_encl_ewb_cpumask() as sgx_encl_cpumask()arch/x86/kernel/cpu/sgx/encl.c arch/x86/kernel/cpu/sgx/encl.h arch/x86/kernel/cpu/sgx/main.c+5 -50 replies
10/30x86/sgx: Move PTE zap code to new sgx_zap_enclave_ptes()arch/x86/kernel/cpu/sgx/encl.c arch/x86/kernel/cpu/sgx/encl.h arch/x86/kernel/cpu/sgx/main.c+47 -310 replies
11/30x86/sgx: Make sgx_ipi_cb() available internallyarch/x86/kernel/cpu/sgx/main.c arch/x86/kernel/cpu/sgx/sgx.h+3 -10 replies
12/30x86/sgx: Create utility to validate user provided offset and lengtharch/x86/kernel/cpu/sgx/ioctl.c+22 -60 replies
13/30x86/sgx: Keep record of SGX page typearch/x86/include/asm/sgx.h arch/x86/kernel/cpu/sgx/encl.h arch/x86/kernel/cpu/sgx/ioctl.c+7 -10 replies
14/30x86/sgx: Support restricting of enclave page permissionsarch/x86/include/uapi/asm/sgx.h arch/x86/kernel/cpu/sgx/encl.c arch/x86/kernel/cpu/sgx/encl.h +1 more+303 -29 replies
15/30selftests/sgx: Add test for EPCM permission changestools/testing/selftests/sgx/defines.h tools/testing/selftests/sgx/main.c tools/testing/selftests/sgx/test_encl.c+287 -00 replies
16/30selftests/sgx: Add test for TCS page permission changestools/testing/selftests/sgx/main.c+74 -00 replies
17/30x86/sgx: Support adding of pages to an initialized enclavearch/x86/kernel/cpu/sgx/encl.c arch/x86/kernel/cpu/sgx/encl.h arch/x86/kernel/cpu/sgx/ioctl.c+136 -20 replies
18/30x86/sgx: Tighten accessible memory range after enclave initializationarch/x86/kernel/cpu/sgx/encl.c+5 -00 replies
19/30selftests/sgx: Test two different SGX2 EAUG flowstools/testing/selftests/sgx/main.c+243 -00 replies
20/30x86/sgx: Support modifying SGX page typearch/x86/include/uapi/asm/sgx.h arch/x86/kernel/cpu/sgx/ioctl.c+232 -00 replies
21/30x86/sgx: Support complete page removalarch/x86/include/uapi/asm/sgx.h arch/x86/kernel/cpu/sgx/ioctl.c+166 -00 replies
22/30Documentation/x86: Introduce enclave runtime management sectionDocumentation/x86/sgx.rst+16 -00 replies
23/30selftests/sgx: Introduce dynamic entry pointtools/testing/selftests/sgx/test_encl_bootstrap.S+6 -00 replies
24/30selftests/sgx: Introduce TCS initialization enclave operationtools/testing/selftests/sgx/defines.h tools/testing/selftests/sgx/test_encl.c+38 -00 replies
25/30selftests/sgx: Test complete changing of page type flowtools/testing/selftests/sgx/load.c tools/testing/selftests/sgx/main.c tools/testing/selftests/sgx/main.h+389 -00 replies
26/30selftests/sgx: Test faulty enclave behaviortools/testing/selftests/sgx/main.c+116 -00 replies
27/30selftests/sgx: Test invalid access to removed enclave pagetools/testing/selftests/sgx/main.c+247 -00 replies
28/30selftests/sgx: Test reclaiming of untouched pagetools/testing/selftests/sgx/main.c+82 -00 replies
29/30x86/sgx: Free up EPC pages directly to support large page rangesarch/x86/kernel/cpu/sgx/ioctl.c arch/x86/kernel/cpu/sgx/main.c arch/x86/kernel/cpu/sgx/sgx.h+13 -00 replies
30/30selftests/sgx: Page removal stress testtools/testing/selftests/sgx/main.c+122 -00 replies

Reviews trailers per patch

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

PatchJarkko Sakkinen
1/30
2/30
3/30
4/30
5/30
6/30
7/30
8/30
9/30
10/30
11/30
12/30
13/30A-b
14/30
15/30
16/30
17/30
18/30
19/30
20/30
21/30
22/30
23/30
24/30
25/30
26/30
27/30
28/30
29/30
30/30

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

Read the v1 thread