Merge tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 SGX updates from Borislav Petkov: "Add the guest side of SGX support in KVM guests. Work by Sean Christopherson, Kai Huang and Jarkko Sakkinen. Along with the usual fixes, cleanups and improvements" * tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits) x86/sgx: Mark sgx_vepc_vm_ops static x86/sgx: Do not update sgx_nr_free_pages in sgx_setup_epc_section() x86/sgx: Move provisioning device creation out of SGX driver x86/sgx: Add helpers to expose ECREATE and EINIT to KVM x86/sgx: Add helper to update SGX_LEPUBKEYHASHn MSRs x86/sgx: Add encls_faulted() helper x86/sgx: Add SGX2 ENCLS leaf definitions (EAUG, EMODPR and EMODT) x86/sgx: Move ENCLS leaf definitions to sgx.h x86/sgx: Expose SGX architectural definitions to the kernel x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled x86/cpu/intel: Allow SGX virtualization without Launch Control support x86/sgx: Introduce virtual EPC for use by KVM guests x86/sgx: Add SGX_CHILD_PRESENT hardware error code x86/sgx: Wipe out EREMOVE from sgx_free_epc_page() x86/cpufeatures: Add SGX1 and SGX2 sub-features x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit x86/sgx: Remove unnecessary kmap() from sgx_ioc_enclave_init() selftests/sgx: Use getauxval() to simplify test code selftests/sgx: Improve error detection and messages x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page() ...
No related branches found
No related tags found
Showing
- Documentation/x86/sgx.rst 41 additions, 0 deletionsDocumentation/x86/sgx.rst
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- arch/x86/Kconfig 1 addition, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/cpufeatures.h 2 additions, 0 deletionsarch/x86/include/asm/cpufeatures.h
- arch/x86/include/asm/sgx.h 45 additions, 5 deletionsarch/x86/include/asm/sgx.h
- arch/x86/kernel/cpu/cpuid-deps.c 3 additions, 0 deletionsarch/x86/kernel/cpu/cpuid-deps.c
- arch/x86/kernel/cpu/feat_ctl.c 47 additions, 24 deletionsarch/x86/kernel/cpu/feat_ctl.c
- arch/x86/kernel/cpu/scattered.c 2 additions, 0 deletionsarch/x86/kernel/cpu/scattered.c
- arch/x86/kernel/cpu/sgx/Makefile 1 addition, 0 deletionsarch/x86/kernel/cpu/sgx/Makefile
- arch/x86/kernel/cpu/sgx/driver.c 0 additions, 17 deletionsarch/x86/kernel/cpu/sgx/driver.c
- arch/x86/kernel/cpu/sgx/encl.c 27 additions, 6 deletionsarch/x86/kernel/cpu/sgx/encl.c
- arch/x86/kernel/cpu/sgx/encl.h 1 addition, 0 deletionsarch/x86/kernel/cpu/sgx/encl.h
- arch/x86/kernel/cpu/sgx/encls.h 14 additions, 16 deletionsarch/x86/kernel/cpu/sgx/encls.h
- arch/x86/kernel/cpu/sgx/ioctl.c 16 additions, 27 deletionsarch/x86/kernel/cpu/sgx/ioctl.c
- arch/x86/kernel/cpu/sgx/main.c 185 additions, 79 deletionsarch/x86/kernel/cpu/sgx/main.c
- arch/x86/kernel/cpu/sgx/sgx.h 26 additions, 14 deletionsarch/x86/kernel/cpu/sgx/sgx.h
- arch/x86/kernel/cpu/sgx/virt.c 376 additions, 0 deletionsarch/x86/kernel/cpu/sgx/virt.c
- arch/x86/kvm/Kconfig 12 additions, 0 deletionsarch/x86/kvm/Kconfig
- tools/testing/selftests/sgx/defines.h 1 addition, 1 deletiontools/testing/selftests/sgx/defines.h
- tools/testing/selftests/sgx/load.c 55 additions, 14 deletionstools/testing/selftests/sgx/load.c
Loading
Please register or sign in to comment