[PATCH v1 1/2] crypto: ccp - Bump minimum firmware version for SEV-SNP support
From: Tycho Andersen
Date: Tue Nov 03 2026 - 13:59:27 EST
From: "Tycho Andersen (AMD)" <tycho@xxxxxxxxxx>
The SEV firmware has received many critical bug and security fixes since
1.52. Bump the minimum supported firmware version for SEV-SNP to 1.55
(first available in linux-firmware release 20230919). See
https://www.amd.com/en/developer/sev.html for firmware release notes with
exact bug fixes and CVE details.
While these macros are called SNP_MIN_API_*, since 6131e119f579 ("crypto:
ccp - Abort doing SEV INIT if SNP INIT fails") both SEV and SNP fail if SNP
fails to initialize, so this firmware requirement really applies to SEV
hosts that are SNP capable at the time of init.
Also upgrade the debug log to an error log to give people some idea about
why things failed.
Signed-off-by: Tycho Andersen (AMD) <tycho@xxxxxxxxxx>
Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
---
drivers/crypto/ccp/sev-dev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/ccp/sev-dev.c b/drivers/crypto/ccp/sev-dev.c
index 5c996ab63895..13e6af5549f5 100644
--- a/drivers/crypto/ccp/sev-dev.c
+++ b/drivers/crypto/ccp/sev-dev.c
@@ -43,9 +43,9 @@
#define SEV_FW_FILE "amd/sev.fw"
#define SEV_FW_NAME_SIZE 64
-/* Minimum firmware version required for the SEV-SNP support */
+/* Minimum firmware version required for SEV-SNP support */
#define SNP_MIN_API_MAJOR 1
-#define SNP_MIN_API_MINOR 51
+#define SNP_MIN_API_MINOR 55
/*
* Maximum number of firmware-writable buffers that might be specified
@@ -1523,7 +1523,7 @@ static int __sev_snp_init_locked(int *error, unsigned int max_snp_asid)
return 0;
if (!sev_version_greater_or_equal(SNP_MIN_API_MAJOR, SNP_MIN_API_MINOR)) {
- dev_dbg(sev->dev, "SEV-SNP support requires firmware version >= %d:%d\n",
+ dev_err(sev->dev, "SEV-SNP support requires firmware version >= %d:%d\n",
SNP_MIN_API_MAJOR, SNP_MIN_API_MINOR);
return -EOPNOTSUPP;
}
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
--
2.56.0