Re: [PATCH v6 4/4] x86/sev: register tpm-svsm platform device

From: Borislav Petkov
Date: Wed Apr 09 2025 - 14:47:14 EST


On Wed, Apr 09, 2025 at 11:07:49AM -0500, Tom Lendacky wrote:
> So the vTPM driver wouldn't change, just snp_init_platform_device():
>
> if (snp_vmpl && platform_device_register(&tpm_svsm_device))

So this basically says that the SVSM is always sporting a vTPM emulation. But
you can build the cocont-svsm thing without it AFAICT.

So I'm guessing Stefano's suggestion here might make more sense:

https://lore.kernel.org/r/o2u7p3wb64lcc4sziunr274hyubkgmspzdjcvihbpzkw6mkvpo@sjq3vi4y2qfl

considering it all...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette