Skip to content

Move SEV sysfs information and expose MSR_SEV_STATUS

Joerg Roedel linux-coco lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/coco/sev: Move SEV SYSFS group to /sys/hypervisor/Documentation/ABI/testing/sysfs-devices-system-cpu Documentation/ABI/testing/sysfs-hypervisor arch/x86/Kconfig +1 more+28 -154 replies
2/2x86/sev: Make SEV_STATUS available via SYSFSDocumentation/ABI/testing/sysfs-hypervisor arch/x86/coco/sev/core.c+14 -06 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchTom LendackyLiam Merwick
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 0/2 v2] Move SEV sysfs information and expose MSR_SEV_STATUS

From: Joerg Roedel <[email protected]>

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
Signature · 1 line
2.48.1