[PATCH v4 0/2] Skip SNP inititalization if CPUs are offlined

From: Tycho Andersen

Date: Wed Apr 29 2026 - 11:58:15 EST


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

The sole change from v3 is to fix the error message.

v3 is here: https://lore.kernel.org/all/20260409195602.851513-1-tycho@xxxxxxxxxx/

Tycho Andersen (AMD) (2):
x86/sev: Do not initialize SNP if missing CPUs
crypto/ccp: Skip SNP_INIT if preparation fails

arch/x86/include/asm/sev.h | 4 ++--
arch/x86/virt/svm/sev.c | 18 ++++++++++++++++--
drivers/crypto/ccp/sev-dev.c | 4 +++-
3 files changed, 21 insertions(+), 5 deletions(-)


base-commit: 8f1aacb683ef4a49b83dcc40bfce022aaa4aa597
--
2.54.0