Dave Jiang 6373c48b8c acpi: numa: Add genport target allocation to the HMAT parsing
Add SRAT parsing for the HMAT init in order to collect the device handle
from the Generic Port Affinity Structure. The device handle will serve as
the key to search for target data.

Consolidate the common code with alloc_memory_target() in a helper function
alloc_target().

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/170319616951.2212653.14862375982250406464.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-12-22 14:23:13 -08:00
..
2023-10-26 15:04:49 +02:00
2023-10-26 15:04:49 +02:00
2022-05-25 15:37:07 +02:00
2023-11-04 16:20:36 -10:00
2023-09-21 20:55:43 +02:00
2023-11-01 15:28:33 -10:00
2022-01-22 08:33:37 +02:00
2023-03-27 20:50:28 +02:00
2023-11-04 07:54:21 -10:00