Skip to content

Commit

Permalink
acpi/hmat: Register processor domain to its memory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Keith Busch authored and Greg Kroah-Hartman committed Apr 4, 2019
1 parent acc02a1 commit 665ac7e
Show file tree
Hide file tree
Showing 2 changed files with 393 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/acpi/hmat/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Loading

0 comments on commit 665ac7e

Please sign in to comment.