Re: [PATCH v2 0/3] Expose TDX Module version

From: Kiryl Shutsemau
Date: Mon Jan 05 2026 - 05:41:23 EST


On Sun, Jan 04, 2026 at 11:43:43PM -0800, Chao Gao wrote:
> Hi reviewers,
>
> This series is quite straightforward and I believe it's well-polished.
> Please consider providing your ack tags. However, since it depends on
> two other series (listed below), please review those dependencies first if
> you haven't already.
>
> Changes in v2:
> - Print TDX Module version in demsg (Vishal)
> - Remove all descriptions about autogeneration (Rick)
> - Fix typos (Kai)
> - Stick with TDH.SYS.RD (Dave/Yilun)
> - Rebase onto Sean's VMXON v2 series
>
> === Problem & Solution ===
>
> Currently, there is no user interface to get the TDX Module version.
> However, in bug reporting or analysis scenarios, the first question
> normally asked is which TDX Module version is on your system, to determine
> if this is a known issue or a new regression.
>
> To address this issue, this series exposes the TDX Module version as
> sysfs attributes of the tdx_host device [*] and also prints it in dmesg
> to keep a record.

The version information is also useful for the guest. Maybe we should
provide consistent interface for both sides?

--
Kiryl Shutsemau / Kirill A. Shutemov