[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250210211223.6139-5-tony.luck@intel.com>
Date: Mon, 10 Feb 2025 13:12:23 -0800
From: Tony Luck <tony.luck@...el.com>
To: Robert Moore <robert.moore@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Len Brown <lenb@...nel.org>
Cc: linux-acpi@...r.kernel.org,
acpica-devel@...ts.linux.dev,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
David Hildenbrand <david@...hat.com>,
Oscar Salvador <osalvador@...e.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Danilo Krummrich <dakr@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Tony Luck <tony.luck@...el.com>
Subject: [PATCH 4/4] ACPI/MRRM: ABI documentation for /sys/devices/system/memory/rangeX
ABI providing users with a mapping between physical address ranges
and "region id" used by perf for uncore memory events and the
resctrl file system for per-region memory monitoring and control.
Signed-off-by: Tony Luck <tony.luck@...el.com>
---
.../ABI/testing/sysfs-devices-memory | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-devices-memory b/Documentation/ABI/testing/sysfs-devices-memory
index cec65827e602..fb01739e016e 100644
--- a/Documentation/ABI/testing/sysfs-devices-memory
+++ b/Documentation/ABI/testing/sysfs-devices-memory
@@ -118,3 +118,35 @@ Description:
(RO) indicates whether or not the kernel updates relevant kexec
segments on memory hot un/plug and/or on/offline events, avoiding the
need to reload kdump kernel.
+
+What: /sys/devices/system/memory/rangeX/base
+Date: January 2025
+Contact: Tony Luck <tony.luck@...el.com>
+Description:
+ On systems with the ACPI MRRM table reports the
+ base system physical address of memory range X.
+
+What: /sys/devices/system/memory/rangeX/length
+Date: January 2025
+Contact: Tony Luck <tony.luck@...el.com>
+Description:
+ On systems with the ACPI MRRM table reports the
+ size of rangeX system physical memory.
+
+What: /sys/devices/system/memory/rangeX/local_region_id
+Date: January 2025
+Contact: Tony Luck <tony.luck@...el.com>
+Description:
+ On systems with the ACPI MRRM table reports the
+ the region id associated with memory access by
+ agents local to this range of addresses. Reports
+ 0xff when no region id has been assigned.
+
+What: /sys/devices/system/memory/rangeX/remote_region_id
+Date: January 2025
+Contact: Tony Luck <tony.luck@...el.com>
+Description:
+ On systems with the ACPI MRRM table reports the
+ the region id associated with memory access by
+ agents non-local to this range of addresses. Reports
+ 0xff when no region id has been assigned.
--
2.48.1
Powered by blists - more mailing lists