[PATCH 0/3] kvm: svm: Add initial GHCB protocol version 2 support

From: Joerg Roedel
Date: Tue Jul 13 2021 - 05:35:57 EST


From: Joerg Roedel <jroedel@xxxxxxx>

Hi,

here is a small set of patches which I took from the pending SEV-SNP
patch-sets to enable basic support for GHCB protocol version 2.

When SEV-SNP is not supported, only two new MSR protocol VMGEXIT calls
need to be supported:

- MSR-based AP-reset-hold
- MSR-based HV-feature-request

These calls are implemented by here and then the protocol is lifted to
version 2.

This is submitted separately because the MSR-based AP-reset-hold call
is required to support kexec/kdump in SEV-ES guests.

Regards,

Joerg

Brijesh Singh (2):
KVM: SVM: Add support for Hypervisor Feature support MSR protocol
KVM: SVM: Increase supported GHCB protocol version

Tom Lendacky (1):
KVM: SVM: Add support to handle AP reset MSR protocol

arch/x86/include/asm/sev-common.h | 5 +++
arch/x86/include/uapi/asm/svm.h | 1 +
arch/x86/kvm/svm/sev.c | 63 +++++++++++++++++++++++++++----
arch/x86/kvm/svm/svm.h | 4 +-
4 files changed, 64 insertions(+), 9 deletions(-)


base-commit: e73f0f0ee7541171d89f2e2491130c7771ba58d3
--
2.31.1