[PATCH v3 0/2] Skip SNP initialization if CPUs are offlined

Tycho Andersen posted 2 patches 2 months ago
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(-)
[PATCH v3 0/2] Skip SNP initialization if CPUs are offlined
Posted by Tycho Andersen 2 months ago
From: "Tycho Andersen (AMD)" <tycho@kernel.org>

Changes are:

* add some newlines
* move error setting into cpumask check
* head off AI review complaints by adding the note about SNP failing all
  initialization previously to commit message of patch two
* drop mention of reasons for snp_prepare() failure from commit message
  of patch two
* carry review tags as appropriate

v2 is here: https://lore.kernel.org/all/20260407174713.439474-1-tycho@kernel.org/

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: 6c927e5ca9d238f8ae40b453a8382eb9cf4ee855
-- 
2.53.0