Merge tag 'kvm-x86-svm-6.9' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2024 23:03:26 +0000 (19:03 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2024 23:03:26 +0000 (19:03 -0400)
commit1d55934ed584861d06efc8c61a77e9cbe287e7a2
treeee1b231b7dc2a449ad1a1523018c42632ece8aeb
parentbf3a69c6861ff4dc7892d895c87074af7bc1c400
parentfdd58834d132046149699b88a27a0db26829f4fb
Merge tag 'kvm-x86-svm-6.9' of https://github.com/kvm-x86/linux into HEAD

KVM SVM changes for 6.9:

 - Add support for systems that are configured with SEV and SEV-ES+ enabled,
   but have all ASIDs assigned to SEV-ES+ guests, which effectively makes SEV
   unusuable.  Cleanup ASID handling to make supporting this scenario less
   brittle/ugly.

 - Return -EINVAL instead of -EBUSY if userspace attempts to invoke
   KVM_SEV{,ES}_INIT on an SEV+ guest.  The operation is simply invalid, and
   not related to resource contention in any way.
arch/x86/kvm/svm/sev.c
arch/x86/kvm/trace.h