acpi: numa: Add helper function to retrieve the performance attributes
authorDave Jiang <dave.jiang@intel.com>
Thu, 21 Dec 2023 22:03:07 +0000 (15:03 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Dec 2023 22:33:10 +0000 (14:33 -0800)
commitca53543d8e340070fb37fde93f36ed9012c76b90
tree9bf7c9c9daf0df896c84344961456cefc3b828f7
parenta3a3e341f169511823f7b2d140a0bdfbd620dcbd
acpi: numa: Add helper function to retrieve the performance attributes

Add helper to retrieve the performance attributes based on the device
handle.  The helper function is exported so the CXL driver can use that
to acquire the performance data between the CPU and the CXL host bridge.

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/170319618721.2212653.5552947472849081786.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/numa/hmat.c
include/linux/acpi.h