Re: [PATCH v5 5/6] x86/virt/tdx: Make TDX module initialize the extensions
From: Xu Yilun
Date: Thu Nov 19 2026 - 00:39:39 EST
On Wed, Nov 18, 2026 at 10:44:06PM +0000, Edgecombe, Rick P wrote:
> On Wed, 2026-11-11 at 11:48 +0800, Xu Yilun wrote:
> > Continue fleshing out the extension initialization process. At this
> > point the kernel has provided all memory and the TDX module is ready to
> > initialize the extensions on the memory.
> >
> > Initialize TDX module extensions via TDH.EXT.INIT. This process takes on
> > the order of 100's of milliseconds, during which the TDX module loads
> > its internal extension image into this memory and builds the execution
> > environment. Once initialized, those add-on features can use their
> > SEAMCALL leafs normally.
> >
> > Note that TDH.EXT.INIT builds all configured extensions. The SEAMCALL
> > leaf fails if any extension fails to initialize. The kernel does simple
> > error handling - just fails the whole TDX initialization on any error.
> > This is OK cause all extensions are considered necessary for security.
> ^because? "cause" in the use is more of a colloquialism. As a word
> "cause" is like "The cause of A is B". But sometimes informally "because" is
> said like "'cause" where the "be" is sort of sloppily dropped. So this reads
> like that.
Thanks. I'll check it throughout my logs.