From: Joerg Roedel <jroedel@suse.de>
Hi,
these changes move the SEV sysfs directory to /sys/hypervisor/ as
discussed on the mailing-list[1] and add an attribute to expose the
raw value of the SEV_STATUS MSR.
For compatibility reasons a symlink is created at the old location of
the directory to link the new location.
Regards,
Joerg
[1] https://lore.kernel.org/lkml/20250311110748.GCZ9AZhPYYAz-MXErv@fat_crate.local/
Joerg Roedel (2):
x86/coco/sev: Move SEV SYSFS group to /sys/hypervisor/
x86/sev: Make SEV_STATUS available via SYSFS
.../ABI/testing/sysfs-devices-system-cpu | 11 ++-----
Documentation/ABI/testing/sysfs-hypervisor | 15 ++++++++++
arch/x86/Kconfig | 1 +
arch/x86/coco/sev/core.c | 30 +++++++++++++++----
4 files changed, 42 insertions(+), 15 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-hypervisor
--
2.48.1