Re: [PATCH v6 0/4] Enlightened vTPM support for SVSM on SEV-SNP

From: Jarkko Sakkinen
Date: Mon Apr 07 2025 - 14:42:33 EST


On Mon, Apr 07, 2025 at 03:46:43PM +0200, Borislav Petkov wrote:
> On Thu, Apr 03, 2025 at 12:09:38PM +0200, Stefano Garzarella wrote:
> > Stefano Garzarella (4):
> > x86/sev: add SVSM vTPM probe/send_command functions
> > svsm: add header with SVSM_VTPM_CMD helpers
> > tpm: add SNP SVSM vTPM driver
> > x86/sev: register tpm-svsm platform device
> >
> > arch/x86/include/asm/sev.h | 9 +++
> > include/linux/tpm_svsm.h | 149 ++++++++++++++++++++++++++++++++++++
> > arch/x86/coco/sev/core.c | 67 ++++++++++++++++
> > drivers/char/tpm/tpm_svsm.c | 128 +++++++++++++++++++++++++++++++
> > drivers/char/tpm/Kconfig | 10 +++
> > drivers/char/tpm/Makefile | 1 +
> > 6 files changed, 364 insertions(+)
> > create mode 100644 include/linux/tpm_svsm.h
> > create mode 100644 drivers/char/tpm/tpm_svsm.c
>
> Jarrko,
>
> should I take the whole bunch through the tip tree?
>
> No point in splitting between two trees...

It's cleanly separated and does not even touch any shared headers,
so I don't see any issues on doing that. I.e., I'm with it :-)

>
> Thx.
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
>

BR, Jarkko