Merge tag 'x86_sgx_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 SGX updates from Borislav Petkov: - Add support for handling hw errors in SGX pages: poisoning, recovering from poison memory and error injection into SGX pages - A bunch of changes to the SGX selftests to simplify and allow of SGX features testing without the need of a whole SGX software stack - Add a sysfs attribute which is supposed to show the amount of SGX memory in a NUMA node, similar to what /proc/meminfo is to normal memory - The usual bunch of fixes and cleanups too * tag 'x86_sgx_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits) x86/sgx: Fix NULL pointer dereference on non-SGX systems selftests/sgx: Fix corrupted cpuid macro invocation x86/sgx: Add an attribute for the amount of SGX memory in a NUMA node x86/sgx: Fix minor documentation issues selftests/sgx: Add test for multiple TCS entry selftests/sgx: Enable multiple thread support selftests/sgx: Add page permission and exception test selftests/sgx: Rename test properties in preparation for more enclave tests selftests/sgx: Provide per-op parameter structs for the test enclave selftests/sgx: Add a new kselftest: Unclobbered_vdso_oversubscribed selftests/sgx: Move setup_test_encl() to each TEST_F() selftests/sgx: Encpsulate the test enclave creation selftests/sgx: Dump segments and /proc/self/maps only on failure selftests/sgx: Create a heap for the test enclave selftests/sgx: Make data measurement for an enclave segment optional selftests/sgx: Assign source for each segment selftests/sgx: Fix a benign linker warning x86/sgx: Add check for SGX pages to ghes_do_memory_failure() x86/sgx: Add hook to error injection address validation x86/sgx: Hook arch_memory_failure() into mainline code ...
Showing
- Documentation/ABI/stable/sysfs-devices-node 6 additions, 0 deletionsDocumentation/ABI/stable/sysfs-devices-node
- Documentation/firmware-guide/acpi/apei/einj.rst 19 additions, 0 deletionsDocumentation/firmware-guide/acpi/apei/einj.rst
- Documentation/x86/sgx.rst 7 additions, 7 deletionsDocumentation/x86/sgx.rst
- arch/Kconfig 4 additions, 0 deletionsarch/Kconfig
- arch/x86/Kconfig 2 additions, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/processor.h 8 additions, 0 deletionsarch/x86/include/asm/processor.h
- arch/x86/include/asm/set_memory.h 4 additions, 0 deletionsarch/x86/include/asm/set_memory.h
- arch/x86/kernel/cpu/sgx/main.c 161 additions, 1 deletionarch/x86/kernel/cpu/sgx/main.c
- arch/x86/kernel/cpu/sgx/sgx.h 7 additions, 1 deletionarch/x86/kernel/cpu/sgx/sgx.h
- drivers/acpi/apei/einj.c 2 additions, 1 deletiondrivers/acpi/apei/einj.c
- drivers/acpi/apei/ghes.c 1 addition, 1 deletiondrivers/acpi/apei/ghes.c
- drivers/base/node.c 3 additions, 0 deletionsdrivers/base/node.c
- include/linux/mm.h 13 additions, 0 deletionsinclude/linux/mm.h
- include/linux/numa.h 4 additions, 0 deletionsinclude/linux/numa.h
- mm/memory-failure.c 13 additions, 6 deletionsmm/memory-failure.c
- tools/testing/selftests/sgx/Makefile 1 addition, 1 deletiontools/testing/selftests/sgx/Makefile
- tools/testing/selftests/sgx/defines.h 29 additions, 4 deletionstools/testing/selftests/sgx/defines.h
- tools/testing/selftests/sgx/load.c 30 additions, 10 deletionstools/testing/selftests/sgx/load.c
- tools/testing/selftests/sgx/main.c 310 additions, 46 deletionstools/testing/selftests/sgx/main.c
- tools/testing/selftests/sgx/main.h 5 additions, 1 deletiontools/testing/selftests/sgx/main.h
Please register or sign in to comment