[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d45cc504-509c-48a7-88e2-374e00068e79@intel.com>
Date: Mon, 5 Jan 2026 08:04:21 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Kiryl Shutsemau <kas@...nel.org>, Chao Gao <chao.gao@...el.com>
Cc: kvm@...r.kernel.org, linux-coco@...ts.linux.dev,
linux-kernel@...r.kernel.org, x86@...nel.org, vishal.l.verma@...el.com,
kai.huang@...el.com, dan.j.williams@...el.com, yilun.xu@...ux.intel.com,
vannapurve@...gle.com, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, "H. Peter Anvin" <hpa@...or.com>,
Ingo Molnar <mingo@...hat.com>, Rick Edgecombe <rick.p.edgecombe@...el.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH v2 0/3] Expose TDX Module version
On 1/5/26 02:38, Kiryl Shutsemau wrote:
>> 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?
Could you elaborate a bit on what constitutes consistency here?
Do you mean simply ensuring that the TDX module version _is_ exposed on
both hosts and guests, like in:
/sys/devices/faux/tdx_host/version
and (making this one up):
/sys/devices/faux/tdx_guest/version
Note the "host" vs. "guest" ^^^^^
Or, that the TDX module version be exposed in the *same* ABI in both
host and guest, like:
/sys/devices/faux/tdx/version
Generally, I find myself really wanting to know how this fits into the
larger picture. Using this "faux" device really seems novel and
TDX-specific. Should it be?
What are other CPU vendors doing for this? SEV? CCA? S390? How are their
firmware versions exposed? What about other things in the Intel world
like CPU microcode or the billion other chunks of firmware? How about
hypervisors? Do they expose their versions to guests with an explicit
ABI? Are those exposed to userspace?
For instance, I hear a lot of talk about updating the TDX module. But is
this interface consistent with doing updates? Long term, I was hoping
that TDX firmware could get treated like any other blob of modern
firmware and have fwupd manage it, so I asked:
https://chatgpt.com/share/695be06c-3d40-8012-97c9-2089fc33cbb3
My read on your approach here is that our new LLM overlords might
consider it the "last resort".
Powered by blists - more mailing lists