# 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-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 9e2f40233670c70c25e0681cb66d50d1e2742829 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:6939:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6944:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- In file included from /kisskb/src/include/linux/mtd/spi-nor.h:10, from /kisskb/src/drivers/spi/spi-intel.c:13: /kisskb/src/include/linux/mtd/cfi.h:62:2: error: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp] #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. ^~~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:249: drivers/spi/spi-intel.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:466: drivers/spi] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1844: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:03:09.593507