aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/io.c
diff options
context:
space:
mode:
authorStefano Garzarella <[email protected]>2025-04-03 10:09:39 +0000
committerBorislav Petkov (AMD) <[email protected]>2025-04-10 14:15:41 +0000
commit770de678bc281f6b0be339c29c1ad74dfb0e9325 (patch)
treef081cf2404ed554a0e9b6ca9caf341b00a0d6fd2 /rust/helpers/io.c
parentLinux 6.15-rc1 (diff)
downloadkernel-770de678bc281f6b0be339c29c1ad74dfb0e9325.tar.gz
kernel-770de678bc281f6b0be339c29c1ad74dfb0e9325.zip
x86/sev: Add SVSM vTPM probe/send_command functions
Add two new functions to probe and send commands to the SVSM vTPM. They leverage the two calls defined by the AMD SVSM specification [1] for the vTPM protocol: SVSM_VTPM_QUERY and SVSM_VTPM_CMD. Expose snp_svsm_vtpm_send_command() to be used by a TPM driver. [1] "Secure VM Service Module for SEV-SNP Guests" Publication # 58019 Revision: 1.00 [ bp: Some doc touchups. ] Co-developed-by: James Bottomley <[email protected]> Signed-off-by: James Bottomley <[email protected]> Co-developed-by: Claudio Carvalho <[email protected]> Signed-off-by: Claudio Carvalho <[email protected]> Signed-off-by: Stefano Garzarella <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions