mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RFC 0/8] Enarx fixes for AMD SEV-SNP hypervisor v7
@ 2023-01-27  2:59 Jarkko Sakkinen
  0 siblings, 0 replies; only message in thread
From: Jarkko Sakkinen @ 2023-01-27  2:59 UTC (permalink / raw)
  Cc: Harald Hoyer, Tom Dohrmann, Ashish Kalra, Michael Roth,
	Tom Lendacky, linux-kernel, kvm, Jarkko Sakkinen,
	Sean Christopherson, Paolo Bonzini, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
	H. Peter Anvin

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27  2:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27  2:59 [PATCH RFC 0/8] Enarx fixes for AMD SEV-SNP hypervisor v7 Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®