[GIT PULL] x86/sev for v7.2-rc1
From: Borislav Petkov
Date: Mon Jun 15 2026 - 14:04:24 EST
Hi Linus,
please pull the x86/sev lineup for v7.2-rc1.
Thx.
---
The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:
Linux 7.1-rc2 (2026-05-03 14:21:25 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sev_for_v7.2_rc1
for you to fetch changes up to 9d8460a1c7a6b0f2dc6302e5d0f31d4e8c2a7913:
x86/sev: Remove redundant ghcbs_initialized checks around __sev_{get,put}_ghcb() (2026-05-19 13:31:29 -0700)
----------------------------------------------------------------
- Remove redundant GHCB initialization guards in the SEV page state and SVSM
call paths now that the GHCB helpers handle early-boot fallback internally
- Skip SNP initialization in the CCP driver immediately when the preparation
step fails rather than proceeding to an operation that will certainly fail
- Abort SNP preparation and return an error when not all CPUs are online,
since the firmware enforces that every CPU enables SNP and will fail init if
not
- Simplify the VMM communication exception entry path by replacing separate
kernel and user mode macros with a single handler that dispatches based on
the current privilege level
----------------------------------------------------------------
Borislav Petkov (AMD) (1):
x86/entry: Zap the #VC entry user and kernel macros
Nikunj A Dadhania (1):
x86/sev: Remove redundant ghcbs_initialized checks around __sev_{get,put}_ghcb()
Tycho Andersen (AMD) (2):
x86/sev: Do not initialize SNP if missing CPUs
crypto/ccp: Skip SNP_INIT if preparation fails
arch/x86/coco/sev/core.c | 8 ++------
arch/x86/coco/sev/internal.h | 3 +++
arch/x86/coco/sev/noinstr.c | 4 +++-
arch/x86/coco/sev/svsm.c | 10 ++--------
arch/x86/coco/sev/vc-handle.c | 12 ++++++++++--
arch/x86/entry/entry_64.S | 4 ++--
arch/x86/entry/entry_fred.c | 10 ----------
arch/x86/include/asm/idtentry.h | 29 +++--------------------------
arch/x86/include/asm/sev.h | 4 ++--
arch/x86/virt/svm/sev.c | 18 ++++++++++++++++--
drivers/crypto/ccp/sev-dev.c | 4 +++-
11 files changed, 46 insertions(+), 60 deletions(-)
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette