# git rev-parse -q --verify 9e2f40233670c70c25e0681cb66d50d1e2742829^{commit} 9e2f40233670c70c25e0681cb66d50d1e2742829 already have revision, skipping fetch # git checkout -q -f -B kisskb 9e2f40233670c70c25e0681cb66d50d1e2742829 # git clean -qxdf # < git log -1 # commit 9e2f40233670c70c25e0681cb66d50d1e2742829 # Merge: 3bd6e5854bf9 e0a5915f1cca # Author: Linus Torvalds # Date: Fri Aug 5 10:47:40 2022 -0700 # # Merge tag 'x86_sgx_for_v6.0-2022-08-03.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # # Pull x86 SGX updates from Dave Hansen: # "A set of x86/sgx changes focused on implementing the "SGX2" features, # plus a minor cleanup: # # - SGX2 ISA support which makes enclave memory management much more # dynamic. For instance, enclaves can now change enclave page # permissions on the fly. # # - Removal of an unused structure member" # # * tag 'x86_sgx_for_v6.0-2022-08-03.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (32 commits) # x86/sgx: Drop 'page_index' from sgx_backing # selftests/sgx: Page removal stress test # selftests/sgx: Test reclaiming of untouched page # selftests/sgx: Test invalid access to removed enclave page # selftests/sgx: Test faulty enclave behavior # selftests/sgx: Test complete changing of page type flow # selftests/sgx: Introduce TCS initialization enclave operation # selftests/sgx: Introduce dynamic entry point # selftests/sgx: Test two different SGX2 EAUG flows # selftests/sgx: Add test for TCS page permission changes # selftests/sgx: Add test for EPCM permission changes # Documentation/x86: Introduce enclave runtime management section # x86/sgx: Free up EPC pages directly to support large page ranges # x86/sgx: Support complete page removal # x86/sgx: Support modifying SGX page type # x86/sgx: Tighten accessible memory range after enclave initialization # x86/sgx: Support adding of pages to an initialized enclave # x86/sgx: Support restricting of enclave page permissions # x86/sgx: Support VA page allocation without reclaiming # x86/sgx: Export sgx_encl_page_alloc() # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 9e2f40233670c70c25e0681cb66d50d1e2742829 # < make -s -j 120 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 120 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 120 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 120 ARCH=x86 O=/kisskb/build/linus_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus_x86_64_defconfig_x86_64-gcc11 # Build took: 0:01:04.328675