OSDN Git Service

acpi/hmat: Register performance attributes
authorKeith Busch <keith.busch@intel.com>
Mon, 11 Mar 2019 20:56:04 +0000 (14:56 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Apr 2019 16:41:21 +0000 (18:41 +0200)
commit8d59f5a2ca765f65fd86db86f233678c3770819f
treedeaae672a3d604d9f10611c5e2047cf9bc5263b3
parent665ac7e92757fb74d249b2817dd91b3d9439d0a0
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>
drivers/acpi/hmat/Kconfig
drivers/acpi/hmat/hmat.c