[PATCH 0/5] SEV fixes and performance enhancements

From: Lendacky, Thomas
Date: Thu Oct 03 2019 - 17:17:46 EST


From: Tom Lendacky <thomas.lendacky@xxxxxxx>

This patch series provides fixes in the area of ASID assignment and VM
deactivation.

Additionally, it provides some performance enhancements by reducing the
number of WBINVD/DF_FLUSH invocations that are made.

Note: The third patch in the series modifies a file that is outside of
the arch/x86/kvm directory.

---

Patches based on https://git.kernel.org/pub/scm/virt/kvm/kvm.git next
and commit:
fd3edd4a9066 ("KVM: nVMX: cleanup and fix host 64-bit mode checks")

Tom Lendacky (5):
KVM: SVM: Serialize access to the SEV ASID bitmap
KVM: SVM: Guard against DEACTIVATE when performing WBINVD/DF_FLUSH
KVM: SVM: Remove unneeded WBINVD and DF_FLUSH when starting SEV guests
KVM: SVM: Convert DEACTIVATE mutex to read/write semaphore
KVM: SVM: Reduce WBINVD/DF_FLUSH invocations

arch/x86/kvm/svm.c | 105 +++++++++++++++++++++++++++--------
drivers/crypto/ccp/psp-dev.c | 9 +++
2 files changed, 92 insertions(+), 22 deletions(-)

--
2.17.1