aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/hmat/Kconfig
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-03-11 14:56:03 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-04 18:41:21 +0200
commit665ac7e92757fb74d249b2817dd91b3d9439d0a0 (patch)
tree0ccb1c94826a16a0573f3a6360ce1ef86a65f222 /drivers/acpi/hmat/Kconfig
parentnode: Add memory-side caching attributes (diff)
downloadlinux-dev-665ac7e92757fb74d249b2817dd91b3d9439d0a0.tar.xz
linux-dev-665ac7e92757fb74d249b2817dd91b3d9439d0a0.zip
acpi/hmat: Register processor domain to its memory
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>
Diffstat (limited to 'drivers/acpi/hmat/Kconfig')
-rw-r--r--drivers/acpi/hmat/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/hmat/Kconfig b/drivers/acpi/hmat/Kconfig
index 2f7111b7af62..13cddd612a52 100644
--- a/drivers/acpi/hmat/Kconfig
+++ b/drivers/acpi/hmat/Kconfig
@@ -4,4 +4,5 @@ config ACPI_HMAT
depends on ACPI_NUMA
help
If set, this option has the kernel parse and report the
- platform's ACPI HMAT (Heterogeneous Memory Attributes Table).
+ platform's ACPI HMAT (Heterogeneous Memory Attributes Table),
+ and register memory initiators with their targets.