Re: [PATCH v3 4/6] x86/virt/tdx: Make TDX module initialize the extensions

From: Edgecombe, Rick P

Date: Fri Oct 09 2026 - 15:14:02 EST


On Tue, 2026-10-06 at 01:41 +0800, Xu Yilun wrote:
> TDX module extensions need memory for their execution environment
> to serve SEAMCALL leafs. Several add-on features depend on the
> extensions to execute their SEAMCALL leafs.

Can we get a little more about what this SEAMCALL is actually doing? To be able
to reason about how long it will take. Obviously it does nothing now, but when
we enable the fist extension.

>
> After providing all required memory to the TDX module, initialize TDX
> module extensions via TDH.EXT.INIT, then those add-on features can use
> their SEAMCALL leafs normally.
>
> Signed-off-by: Xu Yilun <yilun.xu@xxxxxxxxxxxxxxx>
> Reviewed-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>
> Reviewed-by: Tony Lindgren <tony.lindgren@xxxxxxxxxxxxxxx>
> Reviewed-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
>

With that addressed:

Reviewed-by: Rick Edgecombe <rick.p.edgecome@xxxxxxxxx>