On Fri, 05 May 2023 17:05:22 -0700 Dave Jiang <dave.jiang@xxxxxxxxx> wrote: > Add SRAT parsing for the HMAT init in order to collect the device handle > from the Generic Port Affinity Structure. The devie handle will serve as device > the key to search for target data. > > Consoliate the common code with alloc_memory_target() in a helper function > alloc_target(). > > Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>