[PATCH v2 0/4] SEV re-initialization fixes

From: Tycho Andersen

Date: Mon May 04 2026 - 12:52:13 EST


From: "Tycho Andersen (AMD)" <tycho@xxxxxxxxxx>

Here is a v2 of the HSAVE_PA clearing fixes. Changes are:

* return ENODEV instead EINVAL for the re-init cases
* note ABI breakage in patch 3's commit log
* CC stable on all the patches

v1 is here: https://lore.kernel.org/all/20260427161507.32686-1-tycho@xxxxxxxxxx/

Thanks,

Tycho

Tycho Andersen (AMD) (4):
crypto/ccp: Do not initialize SNP for SEV ioctls
crypto/ccp: Do not initialize SNP for ioctl(SNP_COMMIT)
crypto/ccp: Do not initialize SNP for ioctl(SNP_VLEK_LOAD)
crypto/ccp: Do not initialize SNP for ioctl(SNP_CONFIG)

drivers/crypto/ccp/sev-dev.c | 70 ++++++------------------------------
1 file changed, 11 insertions(+), 59 deletions(-)


base-commit: 7fd2df204f342fc17d1a0bfcd474b24232fb0f32
--
2.54.0