diff options
author | Keith Busch <keith.busch@intel.com> | 2019-08-05 17:27:05 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-08-12 12:00:31 +0300 |
commit | b630f62bc57cb2f6364cb1199983361d2a664abd (patch) | |
tree | f9719fd648f3361671fed828b911a79125b9d1bb /drivers/acpi/acpi_memhotplug.c | |
parent | 06188d713885d2a469067637240605b657a4b5a7 (diff) | |
download | linux-b630f62bc57cb2f6364cb1199983361d2a664abd.tar.xz |
HMAT: Register attributes for memory hot add
Some of the memory nodes described in HMAT may not be online at the
time the HMAT subsystem parses their nodes' attributes. Should the node be
set to online later, as can happen when using PMEM as RAM after boot, the
nodes will be missing their initiator links and performance attributes.
Regsiter a memory notifier callback and register the memory attributes
the first time its node is brought online if it wasn't registered.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_memhotplug.c')
0 files changed, 0 insertions, 0 deletions