diff options
| author | 2025-04-10 15:51:16 +0200 | |
|---|---|---|
| committer | 2025-04-10 16:25:33 +0200 | |
| commit | e396dd85172c6098e3b70b17e91424edc7bb2d8f (patch) | |
| tree | 1b2a9a51f71eafd38661c803498393e56d638109 /net/core/dev_api.c | |
| parent | tpm: Add SNP SVSM vTPM driver (diff) | |
| download | wireguard-linux-e396dd85172c6098e3b70b17e91424edc7bb2d8f.tar.xz wireguard-linux-e396dd85172c6098e3b70b17e91424edc7bb2d8f.zip | |
x86/sev: Register tpm-svsm platform device
SNP platform can provide a vTPM device emulated by SVSM.
The "tpm-svsm" device can be handled by the platform driver registered by the
x86/sev core code.
Register the platform device only when SVSM is available and it supports vTPM
commands as checked by snp_svsm_vtpm_probe().
[ bp: Massage commit message. ]
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20250410135118.133240-5-sgarzare@redhat.com
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
