x86/sev: Report MSR_AMD64_SEV in SYSFS
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 3 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86/coco: Add CC_ATTR_GUEST_SEVarch/ include/ | +12 | 3 replies | |
| 2/3 | x86/sev: Create /sys/devices/system/cpu/sev/ for all SEV guestsDocumentation/ arch/ | +22 | 0 replies | |
| 3/3 | x86/coco/sev: Make SEV_STATUS available via SYSFSDocumentation/ arch/ | +19 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Tom Lendacky |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3 v2] x86/sev: Report MSR_AMD64_SEV in SYSFS
From: Joerg Roedel <[email protected]>
Hi,
Here is an updated version of my original patch to report MSR_AMD64_SEV in SYSFS. The intention is to give user-space tooling a way to access the MSR value without needing to expose all MSRs via the msr.ko module.
The patches here are updated to address a Sashiko comment asking why SEV_STATUS is only reported for SEV-SNP guests. The sev_status file is now created for SEV and SEV-ES guests as well.
Please review.
Thanks,
Joerg
Joerg Roedel (3):
x86/coco: Add CC_ATTR_GUEST_SEV
x86/sev: Create /sys/devices/system/cpu/sev/ for all SEV guests x86/coco/sev: Make SEV_STATUS available via SYSFS
.../ABI/testing/sysfs-devices-system-cpu | 9 +++-- arch/x86/coco/core.c | 3 ++ arch/x86/coco/sev/core.c | 33 ++++++++++++++++--- include/linux/cc_platform.h | 9 +++++ 4 files changed, 47 insertions(+), 7 deletions(-)
Signature · 1 line
2.53.0