RE: [PATCH v5 3/6] x86/virt/tdx: Add extra memory to TDX module for the extensions
From: Tian, Kevin
Date: Tue Nov 24 2026 - 02:54:18 EST
> From: Xu Yilun <yilun.xu@xxxxxxxxxxxxxxx>
> Sent: Wednesday, November 11, 2026 11:49 AM
>
> TDX module extensions need memory for their execution environment to
> serve SEAMCALL leafs. The TDX architecture implements the extensions
> in such a way that they use the memory outside of SEAM range, so the
> kernel should add the memory upfront at initialization time.
The cover letter says:
TDX provides a separate SEAMCALL execution *environment* - the TDX
module extensions - for those operations.
So the TDX module extensions is an environment, to support operations
of various add-on features.
Here "TDX module extensions need memory for *their* execution
environment" - 'their' seem to indicate that the extensions itself is not
an environment. sounds like referring to the add-on features instead.
later in patch5:
Note that TDH.EXT.INIT builds all configured extensions. The SEAMCALL
leaf fails if any extension fails to initialize... If a nice-to-have extension
appears in the future, this can be revisited.
This reads more like 'extension' == 'add-on feature'.
Could you clarify it and make it consistent in this series?