Re: [PATCH v3 0/7] Move SNP initialization to the CCP driver
From: Borislav Petkov
Date: Mon Mar 23 2026 - 12:25:59 EST
On Tue, Mar 17, 2026 at 10:21:50AM -0600, Tycho Andersen wrote:
> Tom Lendacky (2):
> x86/snp: 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/snp: create snp_prepare_for_snp_init()
> x86/snp: create snp_x86_shutdown()
> x86/snp, crypto: move SNP init to ccp driver
> x86/snp, crypto: move HSAVE_PA setup to arch/
> crypto: ccp - implement SNP x86 shutdown
>
> arch/x86/include/asm/sev.h | 4 ++
> arch/x86/virt/svm/sev.c | 112 ++++++++++++++++++++++++-----------
> drivers/crypto/ccp/sev-dev.c | 62 ++++++++++---------
> include/linux/psp-sev.h | 4 +-
> 4 files changed, 120 insertions(+), 62 deletions(-)
Ok, I think the next version of this will be ready, pls incorporate all review
feedback and I can pick it up.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette