mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Fang <peter.fang@intel.com>
To: Kiryl Shutsemau <kas@kernel.org>
Cc: "Edgecombe, Rick P" <rick.p.edgecombe@intel.com>,
	"Hansen, Dave" <dave.hansen@intel.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"bp@alien8.de" <bp@alien8.de>,
	"Li, Xiaoyao" <xiaoyao.li@intel.com>,
	"x86@kernel.org" <x86@kernel.org>,
	"sathyanarayanan.kuppuswamy@linux.intel.com"
	<sathyanarayanan.kuppuswamy@linux.intel.com>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
	"tglx@kernel.org" <tglx@kernel.org>,
	"linux-coco@lists.linux.dev" <linux-coco@lists.linux.dev>,
	"hpa@zytor.com" <hpa@zytor.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"binbin.wu@linux.intel.com" <binbin.wu@linux.intel.com>
Subject: Re: [PATCH v2 2/2] virt: tdx-guest: Allocate Quote buffer dynamically
Date: Tue, 8 Sep 2026 23:21:01 -0700	[thread overview]
Message-ID: <aqD6zcjUDeUnOVBJ@intel.com> (raw)
In-Reply-To: <20260723081946.GA482062@pedri>

On Thu, Jul 23, 2026 at 01:19:46AM -0700, Peter Fang wrote:
> On Wed, Jul 22, 2026 at 01:00:35PM +0100, Kiryl Shutsemau wrote:
> > On Tue, Jul 21, 2026 at 04:43:57PM +0000, Edgecombe, Rick P wrote:
> > > BUT, is this number coming from the untrusted host or the TDX module? I cant
> > > find TDCS_QUOTE_MAX_SIZE in the docs.
> > 
> > I cannot find it too. Peter, any pointers where it is documented
> > publicly?
> 
> Gosh sorry I missed this. Turns out it was not fully published due to
> some internal error. Yikes.
> 
> This metadata field is documented in "Intel TDX Module Extension for
> Quoting", Section "TD-Scope Metadata" [1]. But the encoding of this
> field got missed in the June 2026 release of "Intel TDX Module ABI
> Definitions". I just escalated this. I'll come back and give an update
> once it's fixed... Apologies for the oversight.
> 
> [1] https://cdrdv2.intel.com/v1/dl/getContent/874303
> 

The latest (August 2026) release of "Intel TDX Module ABI Definitions"
[2] now includes the encoding of TDCS_QUOTE_MAX_SIZE. There were some
internal design changes that updated the encoding from
0x9010000200000008 to 0x9010000200000007, so the next version of this
series will reflect this change.

[2] https://cdrdv2.intel.com/v1/dl/getContent/917473

> > 

  reply	other threads:[~2026-09-09  6:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 21:43 [PATCH v2 0/2] tdx-guest: Make Quote buffer size dynamic Peter Fang
2026-07-17 21:43 ` [PATCH v2 1/2] x86/tdx: Add helper to query maximum TD Quote size Peter Fang
2026-07-22 13:21   ` Binbin Wu
2026-07-17 21:43 ` [PATCH v2 2/2] virt: tdx-guest: Allocate Quote buffer dynamically Peter Fang
2026-07-20 13:35   ` Dave Hansen
2026-07-21  6:49     ` Peter Fang
2026-07-21 13:48       ` Dave Hansen
2026-07-21 16:43         ` Edgecombe, Rick P
2026-07-22  7:36           ` Peter Fang
2026-07-22 12:00           ` Kiryl Shutsemau
2026-07-23  8:19             ` Peter Fang
2026-09-09  6:21               ` Peter Fang [this message]
2026-07-22  6:39         ` Peter Fang

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=aqD6zcjUDeUnOVBJ@intel.com \
    --to=peter.fang@intel.com \
    --cc=binbin.wu@linux.intel.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@intel.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=kas@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-coco@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=rick.p.edgecombe@intel.com \
    --cc=sathyanarayanan.kuppuswamy@linux.intel.com \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    --cc=xiaoyao.li@intel.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

all inboxes | Powered by JetHome®