[PATCH RFC 0/8] Enarx fixes for AMD SEV-SNP hypervisor v7

Jarkko Sakkinen posted 8 patches 2 years, 7 months ago
Only 0 patches received!
arch/x86/include/asm/svm.h   | 15 ++++--
arch/x86/kvm/svm/sev.c       | 89 +++++++++++++++++++++++++++++-------
arch/x86/kvm/svm/svm.h       |  1 +
drivers/crypto/ccp/sev-dev.c | 63 ++++++++++---------------
include/linux/psp-sev.h      | 15 ------
include/uapi/linux/kvm.h     |  5 ++
6 files changed, 113 insertions(+), 75 deletions(-)
[PATCH RFC 0/8] Enarx fixes for AMD SEV-SNP hypervisor v7
Posted by Jarkko Sakkinen 2 years, 7 months ago
A set of fixes that we've applied on top of SNP v7 patches for running Enarx.

References:
* https://github.com/enarx/linux/releases/tag/v6.1-enarx-upm-1
* https://hackmd.io/@enarx/HJKSlW2Lo

Jarkko Sakkinen (3):
  KVM: SVM: KVM_SEV_SNP_LAUNCH_RESET_VECTOR
  crypto: ccp: Prevent a spurious SEV_CMD_SNP_INIT triggered by
    sev_guest_init()
  crypto: ccp: Move __sev_snp_init_locked() call inside
    __sev_platform_init_locked()

Tom Dohrmann (5):
  KVM: SVM: fix: calculate end instead of passing size
  KVM: SVM: fix: initialize `npinned`
  KVM: SVM: write back corrected CPUID page
  KVM: SVM: fix: add separate error for missing slot
  KVM: SVM: fix: Don't return an error for `GHCB_MSR_PSC_REQ`

 arch/x86/include/asm/svm.h   | 15 ++++--
 arch/x86/kvm/svm/sev.c       | 89 +++++++++++++++++++++++++++++-------
 arch/x86/kvm/svm/svm.h       |  1 +
 drivers/crypto/ccp/sev-dev.c | 63 ++++++++++---------------
 include/linux/psp-sev.h      | 15 ------
 include/uapi/linux/kvm.h     |  5 ++
 6 files changed, 113 insertions(+), 75 deletions(-)

-- 
2.38.1