Merge tag 'x86_sgx_for_6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 Dec 2022 22:18:44 +0000 (14:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 Dec 2022 22:18:44 +0000 (14:18 -0800)
commit2da68a77b940722b04c2f7604a758eab46cf6cf9
tree0804deaffa7a891a648433287082a2fd9461b0a1
parentc1f0fcd85d3d66f002fc1a4986363840fcca766d
parent89e927bbcd45d507e5612ef72fda04182e544a38
Merge tag 'x86_sgx_for_6.2' of git://git./linux/kernel/git/tip/tip

Pull x86 sgx updates from Dave Hansen:
 "The biggest deal in this series is support for a new hardware feature
  that allows enclaves to detect and mitigate single-stepping attacks.

  There's also a minor performance tweak and a little piece of the
  kmap_atomic() -> kmap_local() transition.

  Summary:

   - Introduce a new SGX feature (Asynchrounous Exit Notification) for
     bare-metal enclaves and KVM guests to mitigate single-step attacks

   - Increase batching to speed up enclave release

   - Replace kmap/kunmap_atomic() calls"

* tag 'x86_sgx_for_6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/sgx: Replace kmap/kunmap_atomic() calls
  KVM/VMX: Allow exposing EDECCSSA user leaf function to KVM guest
  x86/sgx: Allow enclaves to use Asynchrounous Exit Notification
  x86/sgx: Reduce delay and interference of enclave release
arch/x86/include/asm/cpufeatures.h
arch/x86/kernel/cpu/sgx/ioctl.c
arch/x86/kvm/cpuid.c