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

From: Joerg Roedel
Date: Thu Jul 30 2020 - 11:43:51 EST


Hi Paolo,

here is v2 of the groundwork patches for the upcoming SEV-ES support in
the Linux kernel. They are part of both the client patch-set and of 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 are currently posted as part of the
SEV-ES client patch-set.

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 | 103 ++++++++++++++++++++++++++++++++++---
arch/x86/kvm/svm/nested.c | 47 ++++++++++++-----
arch/x86/kvm/svm/svm.c | 2 +
3 files changed, 131 insertions(+), 21 deletions(-)

--
2.17.1