[PATCH v4 0/4] KVM: SVM: SEV-ES groundwork

From: Joerg Roedel
Date: Mon Aug 03 2020 - 17:00:40 EST


Hi Paolo,

here is v4 of the groundwork patches for the upcoming SEV-ES support in
the Linux kernel. They are part of both the client patch-set and the KVM
hypervisor patches (under development).

Patch 1 necessary to fix a compile warning about a stack-frame getting
too large. Patches 2 and 3 define the Guest Hypervisor Communication
Block (GHCB) and accessor functions and the last patch is a cleanup.

This version addresses more review comments from Sean. Additionally the
patches are now checkpatch-clean.

It would be great if you could consider them for v5.9, so that the
client and the hypervisor patch-sets can be developed more independently
of each other.

Please let me know what you think.

Regards,

Joerg

Borislav Petkov (1):
KVM: SVM: Use __packed shorthand

Joerg Roedel (2):
KVM: SVM: nested: Don't allocate VMCB structures on stack
KVM: SVM: Add GHCB Accessor functions

Tom Lendacky (1):
KVM: SVM: Add GHCB definitions

arch/x86/include/asm/svm.h | 100 ++++++++++++++++++++++++++++++++++---
arch/x86/kvm/svm/nested.c | 47 +++++++++++------
arch/x86/kvm/svm/svm.c | 2 +
3 files changed, 128 insertions(+), 21 deletions(-)

--
2.17.1