[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250312144107.108451-1-joro@8bytes.org>
Date: Wed, 12 Mar 2025 15:41:05 +0100
From: Joerg Roedel <joro@...tes.org>
To: x86@...nel.org
Cc: hpa@...or.com,
Tom Lendacky <thomas.lendacky@....com>,
Nikunj A Dadhania <nikunj@....com>,
Larry.Dewey@....com,
linux-kernel@...r.kernel.org,
linux-coco@...ts.linux.dev,
Juergen Gross <jgross@...e.com>,
kirill.shutemov@...ux.intel.com,
alexey.gladkov@...el.com,
Joerg Roedel <jroedel@...e.de>
Subject: [PATCH 0/2 v2] Move SEV sysfs information and expose MSR_SEV_STATUS
From: Joerg Roedel <jroedel@...e.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
Powered by blists - more mailing lists