]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: MRRM: Fix default max memory region
authorAnil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Fri, 23 May 2025 17:20:01 +0000 (13:20 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 May 2025 18:05:02 +0000 (20:05 +0200)
commit059717c2ba1f745f35f4bbb8991e408c12031f1e
tree66f866707a0ba8db172d1681b4c0193ca4fec3f2
parent8e66be071bd4d44e8870a37d2e1a9109c47ef22e
ACPI: MRRM: Fix default max memory region

Per the spec, the default max memory region must be 1 covering
all system memory.

When platform does not provide ACPI MRRM table or
when CONFIG_ACPI is opted out, the acpi_mrrm_max_mem_region() function
defaults to  returning 1 region complying to RDT spec.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://patch.msgid.link/20250523172001.1761634-1-anil.s.keshavamurthy@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_mrrm.c
include/linux/acpi.h