• Linus Torvalds's avatar
    Merge tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 81a48979
    Linus Torvalds authored
    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()
      ...
    81a48979
Kconfig 94.4 KB