diff options
| author | Stefano Garzarella <[email protected]> | 2025-04-10 13:51:16 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-04-10 14:25:33 +0000 |
| commit | e396dd85172c6098e3b70b17e91424edc7bb2d8f (patch) | |
| tree | 1b2a9a51f71eafd38661c803498393e56d638109 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | tpm: Add SNP SVSM vTPM driver (diff) | |
| download | kernel-e396dd85172c6098e3b70b17e91424edc7bb2d8f.tar.gz kernel-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 <[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 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
