HMAT: Register memory-side cache after parsing
authorKeith Busch <keith.busch@intel.com>
Mon, 5 Aug 2019 14:27:04 +0000 (08:27 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Aug 2019 09:00:31 +0000 (11:00 +0200)
commit06188d713885d2a469067637240605b657a4b5a7
tree575a863c20cf4201b7bc107288bf7c5e769228ee
parentd06c47e3dd07fdf3f07e8fc45f2ce655e9b295c5
HMAT: Register memory-side cache after parsing

Instead of registering the HMAT cache attributes in line with parsing
the table, save the attributes in the memory target and register them
after parsing completes. This will make it easier to register the
attributes later when hot add is supported.

Tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/hmat/hmat.c