On Wed, Apr 09, 2025 at 02:16:40PM -0500, Tom Lendacky wrote:
On 4/9/25 13:45, Borislav Petkov wrote:
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...
That way works for me, too.
Okay, it looks like we have an agreement! I'll apply that and send v7.
Thanks,
Stefano