summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_memhotplug.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-08-05 17:27:05 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-12 12:00:31 +0300
commitb630f62bc57cb2f6364cb1199983361d2a664abd (patch)
treef9719fd648f3361671fed828b911a79125b9d1bb /drivers/acpi/acpi_memhotplug.c
parent06188d713885d2a469067637240605b657a4b5a7 (diff)
downloadlinux-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