aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/hmat/Kconfig
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-03-11 14:56:04 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-04 18:41:21 +0200
commit8d59f5a2ca765f65fd86db86f233678c3770819f (patch)
treedeaae672a3d604d9f10611c5e2047cf9bc5263b3 /drivers/acpi/hmat/Kconfig
parentacpi/hmat: Register processor domain to its memory (diff)
downloadlinux-dev-8d59f5a2ca765f65fd86db86f233678c3770819f.tar.xz
linux-dev-8d59f5a2ca765f65fd86db86f233678c3770819f.zip
acpi/hmat: Register performance attributes
Save the best performance access attributes and register these with the memory's node if HMAT provides the locality table. While HMAT does make it possible to know performance for all possible initiator-target pairings, we export only the local pairings at this time. Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Keith Busch <keith.busch@intel.com> 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/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acpi/hmat/Kconfig b/drivers/acpi/hmat/Kconfig
index 13cddd612a52..95a29964dbea 100644
--- a/drivers/acpi/hmat/Kconfig
+++ b/drivers/acpi/hmat/Kconfig
@@ -2,7 +2,10 @@
config ACPI_HMAT
bool "ACPI Heterogeneous Memory Attribute Table Support"
depends on ACPI_NUMA
+ select HMEM_REPORTING
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.
+ register memory initiators with their targets, and export
+ performance attributes through the node's sysfs device if
+ provided.