Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: "Edgecombe, Rick P" <rick.p.edgecombe@intel.com>
Cc: "corbet@lwn.net" <corbet@lwn.net>,
	"linux-coco@lists.linux.dev" <linux-coco@lists.linux.dev>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"shuah@kernel.org" <shuah@kernel.org>,
	"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
	"kas@kernel.org" <kas@kernel.org>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"rdunlap@infradead.org" <rdunlap@infradead.org>,
	"Jiang, Dave" <dave.jiang@intel.com>,
	"aneesh.kumar@kernel.org" <aneesh.kumar@kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"hpa@zytor.com" <hpa@zytor.com>,
	"lukas@wunner.de" <lukas@wunner.de>,
	"tglx@kernel.org" <tglx@kernel.org>,
	"bp@alien8.de" <bp@alien8.de>,
	"skhan@linuxfoundation.org" <skhan@linuxfoundation.org>,
	"aik@amd.com" <aik@amd.com>,
	"linux-kselftest@vger.kernel.org"
	<linux-kselftest@vger.kernel.org>,
	"x86@kernel.org" <x86@kernel.org>,
	"patches@lists.linux.dev" <patches@lists.linux.dev>,
	"jiri@resnulli.us" <jiri@resnulli.us>,
	"yeoreum.yun@arm.com" <yeoreum.yun@arm.com>
Subject: Re: [PATCH tsm 3/4] attestation: Move Intel TDX Guest tsm_report and mr driver
Date: Tue, 1 Dec 2026 13:57:11 -0400	[thread overview]
Message-ID: <20261201175711.GJ114472@nvidia.com> (raw)
In-Reply-To: <3d72a83e7b53ede757c5ac38a6c0a1316f734b51.camel@intel.com>

On Tue, Dec 01, 2026 at 05:44:57PM +0000, Edgecombe, Rick P wrote:
> > How about something like this?
> > 
> > 	  Driver for TDX guest attestation. The TDX module produces a TD
> > 	  report, and the host's TD Quoting Enclave signs it into a quote
> > 	  through the GetQuote hypercall. The report carries MRTD,
> > 	  RTMR0-RTMR3, MRCONFIGID, MROWNER and MROWNERCONFIG.
> 
> Let's make it more generic. Especially since from the guest perspective, it
> doesn't know what is doing the signing. It is just makes a hypercall to the host
> which can direct the signing to the location of it's choosing. How about
> 
> 	  Driver for the TDX guest signed quote from the Root of Trust of the
> 	  TDX platform for confidential VMs. The quote includes 4 measurement
> 	  registers.

Yeah, that feels about the right level of detail to me. I tweaked it slightly:

config ATTESTATION_INTEL_TDX_GUEST
	tristate "Intel TDX Guest Attestation Driver"
	depends on INTEL_TDX_GUEST
	help
	  Driver for the TDX guest signed evidence from the Root of Trust of the
	  TDX platform for confidential VMs. The quote includes 4 extendable
	  measurement registers.

	  Reports are available in user-created directories under
	  /sys/kernel/config/tsm/report/ with provider "tdx_guest".
	  Measurement registers are exposed under
	  /sys/devices/virtual/misc/tdx_guest/measurements/.

Thanks,
Jason

  reply	other threads:[~2026-12-01 17:57 UTC|newest]

Thread overview: 22+ 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 [this message]
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 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=20261201175711.GJ114472@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=dave.jiang@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=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=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