If the HMAT Subsystem Address Range provides a valid processor proximity domain for a memory domain, or a processor domain matches the performance access of the valid processor proximity domain, register the memory target with that initiator so this relationship will be visible under the node's sysfs directory. Since HMAT requires valid address ranges have an equivalent SRAT entry, verify each memory target satisfies this requirement. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Brice Goglin <Brice.Goglin@inria.fr> Tested-by: Brice Goglin <Brice.Goglin@inria.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 lines
313 B
Plaintext
9 lines
313 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config ACPI_HMAT
|
|
bool "ACPI Heterogeneous Memory Attribute Table Support"
|
|
depends on ACPI_NUMA
|
|
help
|
|
If set, this option has the kernel parse and report the
|
|
platform's ACPI HMAT (Heterogeneous Memory Attributes Table),
|
|
and register memory initiators with their targets.
|