Re: [RFC PATCH 12/15] KVM: TDX: Add in-kernel Quote generation

Peter Fang <[email protected]>
Newsgroups dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <20260811062213.GB1013044@pedri>
On Wed, Jul 22, 2026 at 04:43:05PM -0700, Edgecombe, Rick P wrote:
> 
> Kai, Peter and I just had an offlist chat about what internal TDX locks
> TDH.QUOTE.GET takes.
> 
> The next version of this series needs to come with an analysis of which ones it
> contends with and how unhandleable BUSY error codes are avoided with kernel side
> locking.
> 
> On initial investigation the callers may need to hold
> tdx_acquire_vm_state_locks() to avoid contention around TDR lock. TDH.QUOTE.GET
> also takes "TDCS.OP_STATE" as exclusive, where TDH.MEM.PAGE.REMOVE takes it for

Quick update: this was a mistake in the "Intel TDX Module
Extension for Quoting" documentation. TDH.QUOTE.GET should take
"TDCS.OP_STATE" as shared. It will be fixed in the next version.

> shared.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.