[PATCH 0/3] KVM: SVM: Clean up SEV-ES save area management

Sean Christopherson posted 3 patches 1 year, 4 months ago
arch/x86/include/asm/svm.h | 20 +++++++++++++++-----
arch/x86/kvm/svm/svm.c     | 24 ++++++++++++------------
arch/x86/kvm/svm/svm.h     | 18 ++++++++++++++++--
3 files changed, 43 insertions(+), 19 deletions(-)
[PATCH 0/3] KVM: SVM: Clean up SEV-ES save area management
Posted by Sean Christopherson 1 year, 4 months ago
Clean up KVM's handling of the SEV-ES host save area, and opportunistically
add a helper to dedup code for converting an SME-tweaked PA back into its
struct page.

Sean Christopherson (3):
  KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page
  KVM: SVM: Add host SEV-ES save area structure into VMCB via a union
  KVM: SVM: Track the per-CPU host save area as a VMCB pointer

 arch/x86/include/asm/svm.h | 20 +++++++++++++++-----
 arch/x86/kvm/svm/svm.c     | 24 ++++++++++++------------
 arch/x86/kvm/svm/svm.h     | 18 ++++++++++++++++--
 3 files changed, 43 insertions(+), 19 deletions(-)


base-commit: 332d2c1d713e232e163386c35a3ba0c1b90df83f
-- 
2.46.0.rc2.264.g509ed76dc8-goog
Re: [PATCH 0/3] KVM: SVM: Clean up SEV-ES save area management
Posted by Sean Christopherson 1 year, 3 months ago
On Fri, 02 Aug 2024 13:45:08 -0700, Sean Christopherson wrote:
> Clean up KVM's handling of the SEV-ES host save area, and opportunistically
> add a helper to dedup code for converting an SME-tweaked PA back into its
> struct page.
> 
> Sean Christopherson (3):
>   KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page
>   KVM: SVM: Add host SEV-ES save area structure into VMCB via a union
>   KVM: SVM: Track the per-CPU host save area as a VMCB pointer
> 
> [...]

Applied to kvm-x86 svm, thanks!

[1/3] KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page
      https://github.com/kvm-x86/linux/commit/48547fe75ea7
[2/3] KVM: SVM: Add host SEV-ES save area structure into VMCB via a union
      https://github.com/kvm-x86/linux/commit/1b5ef14dc656
[3/3] KVM: SVM: Track the per-CPU host save area as a VMCB pointer
      https://github.com/kvm-x86/linux/commit/32071fa355e7

--
https://github.com/kvm-x86/linux/tree/next