]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: MRRM: Add /sys files to describe memory ranges
authorTony Luck <tony.luck@intel.com>
Mon, 5 May 2025 17:38:18 +0000 (10:38 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 May 2025 13:43:16 +0000 (15:43 +0200)
commit04f53540f791f160b42710ea64aeba8edc9753cd
tree447419f9ab04a51dac217b2a55f566fefb582fcd
parentb9020bdb9f76b58117f9902db3047693fd12b11b
ACPI: MRRM: Add /sys files to describe memory ranges

Perf and resctrl users need an enumeration of which memory addresses
are bound to which "region" tag.

Parse the ACPI MRRM table and add /sys entries for each memory range
describing base address, length, NUMA node, and which region tags apply
for same-socket and cross-socket access.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://patch.msgid.link/20250505173819.419271-3-tony.luck@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_mrrm.c