RFC Export TDX module information via SYSFS
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/tdx: Make TDX metadata available via SYSFSarch/ arch/ arch/ +1 more | +89 | 5 replies | |
| 2/3 | x86/tdx: Make TDX metadata available on guest via SYSFSarch/ arch/ | +93 | 0 replies | |
| 3/3 | docs: ABI: testing: Add documentation about TDXDocumentation/ | +50 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH v1 0/3] Export TDX module information via SYSFS
From: "Alexey Gladkov (Intel)" <[email protected]>
TD-Preserving updates depend on a userspace tool to select the appropriate module to load. To facilitate this decision-making process, expose the necessary information to userspace.
Also TDX module information (version, supported features, etc) is crucial for bug reporting. For this purpose, it makes sense to have a consistent structure for host and guest information in sysfs.
As already discussed [1] in the mailing list for tdx used the directory /sys/hypervisor/tdx.
[1] https://lore.kernel.org/lkml/20250311110748.GCZ9AZhPYYAz-MXErv@fat_crate.local/
Alexey Gladkov (Intel) (3):
x86/tdx: Make TDX metadata available via SYSFS x86/tdx: Make TDX metadata available on guest via SYSFS
docs: ABI: testing: Add documentation about TDX
.../ABI/testing/sysfs-hypervisor-tdx | 50 ++++++++++ arch/x86/Kconfig | 2 + arch/x86/coco/tdx/tdx.c | 92 +++++++++++++++++++ arch/x86/include/asm/shared/tdx.h | 2 + arch/x86/include/asm/tdx.h | 12 +++ arch/x86/virt/vmx/tdx/tdx.c | 74 +++++++++++++++ 6 files changed, 232 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-hypervisor-tdx
Signature · 1 line
2.48.1