[PATCH 0/4] Create multiple save area for SEV guests

From: Brijesh Singh
Date: Mon Dec 13 2021 - 12:34:40 EST


The patches in this series are taken from the SNP guest series [1]. It defines
multiple save area as needed by the SEV-ES/SEV-SNP guest and adjust usage accordingly.

No functional change.

[1] https://lore.kernel.org/linux-mm/20211210154332.11526-21-brijesh.singh@xxxxxxx/

Series is based on kvm tree:
1c10f4b4877f (origin/queue) KVM: SVM: Nullify vcpu_(un)blocking() hooks if AVIC is disabled

Brijesh Singh (1):
KVM: SVM: Define sev_features and vmpl field in the VMSA

Tom Lendacky (3):
KVM: SVM: Create a separate mapping for the SEV-ES save area
KVM: SVM: Create a separate mapping for the GHCB save area
KVM: SVM: Update the SEV-ES save area mapping

arch/x86/include/asm/svm.h | 171 ++++++++++++++++++++++++++++++++-----
arch/x86/kvm/svm/sev.c | 24 +++---
arch/x86/kvm/svm/svm.c | 4 +-
arch/x86/kvm/svm/svm.h | 2 +-
4 files changed, 163 insertions(+), 38 deletions(-)

--
2.25.1