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

From: Joerg Roedel
Date: Mon Aug 03 2020 - 08:27:38 EST


Hi Paolo,

here is v3 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 necesary to fix a compile warning about a stack-frame getting
too large. The other 3 patches define the Guest Hypervisor
Communication Block (GHCB) and accessor functions.

This version addresses the review comments from Sean.

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