Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Borislav Petkov <bp@alien8.de>,
	Michael Roth <michael.roth@amd.com>,
	Alexey Kardashevskiy <aik@amd.com>,
	"Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Kiryl Shutsemau <kas@kernel.org>,
	kvm@vger.kernel.org, linux-coco@lists.linux.dev,
	linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
	Lukas Wunner <lukas@wunner.de>, Ingo Molnar <mingo@redhat.com>,
	Randy Dunlap <rdunlap@infradead.org>,
	Rick Edgecombe <rick.p.edgecombe@intel.com>,
	Shuah Khan <shuah@kernel.org>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Thomas Gleixner <tglx@kernel.org>,
	x86@kernel.org, Jiri Pirko <jiri@resnulli.us>,
	patches@lists.linux.dev, Yeoreum Yun <yeoreum.yun@arm.com>
Subject: Re: [PATCH tsm 4/4] attestation: Move AMD SEV Guest tsm_report driver
Date: Tue, 1 Dec 2026 15:33:04 -0400	[thread overview]
Message-ID: <20261201193304.GK114472@nvidia.com> (raw)
In-Reply-To: <76b18f8b-2f72-486c-b770-0e7d206ca031@amd.com>

On Tue, Dec 01, 2026 at 12:57:38PM -0600, Tom Lendacky wrote:
> > I think it should be
> > 
> >  sev-guest attestation driver (this patch)
> >    1: evidence-get(amd-certificates)
> >    2: evidence-get(amd-guest-report)
> >    6: evidence-get(amd-tpm-info)
> > 
> >  amd-guest-ptpm attestation driver:
> >    3: evidence-get(tpm ek)
> >    4: evidence-get(tpm ak)
> >    5: evidence-get(tpm signed quote)
> 
> 3-5 could come from the host/hypervisor, it isn't required to come from
> the guest since this is a pTPM relationship and not vTPM. This could use
> existing host methods (which could include PCR logs as you referenced below).

It really depends on the workflow you are trying to build.

If the VM has no visibility to the pTPM information then the verifier
has to do something to ensure it has an appropriate fresh collection
for the hypervisor, it can't just come inband from the VM's collector.

IMHO that would be really hard to use, and has some security wrinkles
since it is hard to establish lifecycle binding of the pTPM quote to
the actual running VM if the VM itself isn't fetching the quote.

I always imagined the VM would obtain the pTPM's quote as part of its
single evidence collection and the verifier could check it in a single
pass instead of trying to correlate two collection operations.

> > This latter one should mirror how the eventual TPM/attestation adaptor
> > will look.
> 
> Has there been any discussion about how this TPM/attestation adapter will
> look? What is done today for 3-5?

No, just ideas that it would need to come into existance. It is all
standards based and well known so I think we can have confidence in
the few items you'd need

Jason

  reply	other threads:[~2026-12-01 19:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  0:52 [PATCH tsm 0/4] Start building drivers/attestation Jason Gunthorpe
2026-12-01  0:52 ` [PATCH tsm 1/4] attestation: Start the new subsystem using tsm_report and mr Jason Gunthorpe
2026-12-01  0:52 ` [PATCH tsm 2/4] attestation: Move the ARM Realm Token tsm_report driver Jason Gunthorpe
2026-12-01  5:25   ` Aneesh Kumar K.V
2026-12-01 13:03     ` Jason Gunthorpe
2026-12-01  0:52 ` [PATCH tsm 3/4] attestation: Move Intel TDX Guest tsm_report and mr driver Jason Gunthorpe
2026-12-01 16:19   ` Dave Jiang
2026-12-01 16:30     ` Jason Gunthorpe
2026-12-01 17:58       ` Dave Jiang
2026-12-01 17:44     ` Edgecombe, Rick P
2026-12-01 17:57       ` Jason Gunthorpe
2026-12-01  0:52 ` [PATCH tsm 4/4] attestation: Move AMD SEV Guest tsm_report driver Jason Gunthorpe
2026-12-01  1:00   ` sashiko-bot
2026-12-01  3:05   ` Borislav Petkov
2026-12-01 13:07     ` Jason Gunthorpe
2026-12-01 15:46       ` Tom Lendacky
2026-12-01 16:20         ` Jason Gunthorpe
2026-12-01 16:38           ` Tom Lendacky
2026-12-01 17:11             ` Jason Gunthorpe
2026-12-01 17:33               ` Tom Lendacky
2026-12-01 17:53                 ` Jason Gunthorpe
2026-12-01 18:57                   ` Tom Lendacky
2026-12-01 19:33                     ` Jason Gunthorpe [this message]
2026-12-01 14:32 ` [PATCH tsm 0/4] Start building drivers/attestation Jiri Pirko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201193304.GK114472@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=aik@amd.com \
    --cc=aneesh.kumar@kernel.org \
    --cc=bp@alien8.de \
    --cc=corbet@lwn.net \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jiri@resnulli.us \
    --cc=kas@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-coco@lists.linux.dev \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=michael.roth@amd.com \
    --cc=mingo@redhat.com \
    --cc=patches@lists.linux.dev \
    --cc=rdunlap@infradead.org \
    --cc=rick.p.edgecombe@intel.com \
    --cc=shuah@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=tglx@kernel.org \
    --cc=thomas.lendacky@amd.com \
    --cc=x86@kernel.org \
    --cc=yeoreum.yun@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox