diff options
author | Dave Jiang <dave.jiang@intel.com> | 2024-03-08 14:59:23 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2024-03-12 12:34:11 -0700 |
commit | bd98cbbbf82a3086423865816e1b5ab4bb4b6c60 (patch) | |
tree | 9323fd500efac416ee9be2bc012cc1324b8a7fe8 /drivers/cxl/cxl.h | |
parent | 1745a7b364dfd339ab2696b7d51d7ed950ed2598 (diff) | |
download | lwn-bd98cbbbf82a3086423865816e1b5ab4bb4b6c60.tar.gz lwn-bd98cbbbf82a3086423865816e1b5ab4bb4b6c60.zip |
ACPI: HMAT / cxl: Add retrieval of generic port coordinates for both access classes
Update acpi_get_genport_coordinates() to allow retrieval of both access
classes of the 'struct access_coordinate' for a generic target. The update
will allow CXL code to compute access coordinates for both access class.
Cc: Rafael J. Wysocki <rafael@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20240308220055.2172956-5-dave.jiang@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/cxl/cxl.h')
-rw-r--r-- | drivers/cxl/cxl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h index 003feebab79b..fe7448f2745e 100644 --- a/drivers/cxl/cxl.h +++ b/drivers/cxl/cxl.h @@ -671,7 +671,7 @@ struct cxl_dport { struct cxl_port *port; struct cxl_regs regs; struct access_coordinate sw_coord; - struct access_coordinate hb_coord; + struct access_coordinate hb_coord[ACCESS_COORDINATE_MAX]; long link_latency; }; |