[GIT PULL] x86/sev for v6.16-rc1
From: Borislav Petkov
Date: Mon May 26 2025 - 15:47:03 EST
Hi Linus,
please pull the x86/sev lineup for v6.16-rc1.
Thx.
---
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:
Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/x86_sev_for_v6.16_rc1
for you to fetch changes up to e396dd85172c6098e3b70b17e91424edc7bb2d8f:
x86/sev: Register tpm-svsm platform device (2025-04-10 16:25:33 +0200)
----------------------------------------------------------------
Add a virtual TPM driver glue which allows a guest kernel to talk to a TPM
device emulated by a Secure VM Service Module (SVSM) - a helper module of sorts
which runs at a different privilege level in the SEV-SNP VM stack.
The intent being that a TPM device is emulated by a trusted entity and not by
the untrusted host which is the default assumption in the confidential
computing scenarios.
----------------------------------------------------------------
Stefano Garzarella (4):
x86/sev: Add SVSM vTPM probe/send_command functions
svsm: Add header with SVSM_VTPM_CMD helpers
tpm: Add SNP SVSM vTPM driver
x86/sev: Register tpm-svsm platform device
arch/x86/coco/sev/core.c | 69 +++++++++++++++++++-
arch/x86/include/asm/sev.h | 7 +++
drivers/char/tpm/Kconfig | 10 +++
drivers/char/tpm/Makefile | 1 +
drivers/char/tpm/tpm_svsm.c | 125 +++++++++++++++++++++++++++++++++++++
include/linux/tpm_svsm.h | 149 ++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 360 insertions(+), 1 deletion(-)
create mode 100644 drivers/char/tpm/tpm_svsm.c
create mode 100644 include/linux/tpm_svsm.h
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette