public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/7] Move SNP initialization to the CCP driver
@ 2026-03-26 16:11 Tycho Andersen
  2026-03-26 16:11 ` [PATCH v5 1/7] x86/sev: Create a function to clear/zero the RMP Tycho Andersen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Tycho Andersen @ 2026-03-26 16:11 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, Ashish Kalra, Tom Lendacky, John Allen,
	Herbert Xu, David S. Miller, Ard Biesheuvel, Neeraj Upadhyay,
	Kishon Vijay Abraham I, Alexey Kardashevskiy, Nikunj A Dadhania,
	Peter Zijlstra (Intel), Kim Phillips, Sean Christopherson
  Cc: linux-kernel, linux-crypto, Tycho Andersen (AMD)

From: "Tycho Andersen (AMD)" <tycho@kernel.org>

The sole change is to add a cpus_read_lock/unlock() to snp_prepare().

v4 is here: https://lore.kernel.org/all/20260324161301.1353976-1-tycho@kernel.org/

Thanks,

Tycho

Tom Lendacky (2):
  x86/sev: Create a function to clear/zero the RMP
  crypto/ccp: Update HV_FIXED page states to allow freeing of memory

Tycho Andersen (AMD) (5):
  x86/sev: Create snp_prepare()
  x86/sev: Create snp_shutdown()
  x86/sev, crypto/ccp: Move SNP init to ccp driver
  x86/sev, crypto/ccp: Move HSAVE_PA setup to arch/x86/
  crypto/ccp: Implement SNP x86 shutdown

 arch/x86/include/asm/sev.h   |   4 ++
 arch/x86/virt/svm/sev.c      | 113 ++++++++++++++++++++++++-----------
 drivers/crypto/ccp/sev-dev.c |  62 ++++++++++---------
 include/linux/psp-sev.h      |   5 +-
 4 files changed, 122 insertions(+), 62 deletions(-)


base-commit: 2ca26dad836fb4cd18694ef85af7a71d2878b239
-- 
2.53.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-26 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-26 16:11 [PATCH v5 0/7] Move SNP initialization to the CCP driver Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 1/7] x86/sev: Create a function to clear/zero the RMP Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 2/7] x86/sev: Create snp_prepare() Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 3/7] x86/sev: Create snp_shutdown() Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 4/7] x86/sev, crypto/ccp: Move SNP init to ccp driver Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 5/7] x86/sev, crypto/ccp: Move HSAVE_PA setup to arch/x86/ Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 6/7] crypto/ccp: Implement SNP x86 shutdown Tycho Andersen
2026-03-26 16:11 ` [PATCH v5 7/7] crypto/ccp: Update HV_FIXED page states to allow freeing of memory Tycho Andersen

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