cxl/acpi: Add the Host Bridge base address to CXL port objects
authorAlison Schofield <alison.schofield@intel.com>
Thu, 17 Jun 2021 23:12:15 +0000 (16:12 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 18 Jun 2021 00:35:43 +0000 (17:35 -0700)
commitda6aafec3dca6132dd80a74a4d918ffd86c7ae35
treea7c581cbe41f2faea4748ba58f6f75af086cb39c
parent21083f51521fb0f60dbac591f175c3ed48435af4
cxl/acpi: Add the Host Bridge base address to CXL port objects

The base address for the Host Bridge port component registers is located
in the CXL Host Bridge Structure (CHBS) of the ACPI CXL Early Discovery
Table (CEDT). Retrieve the CHBS for each Host Bridge (ACPI0016 device)
and include that base address in the port object.

Co-developed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Ben Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/a475ce137b899bc7ae5ba9550b5f198cb29ccbfd.1623968958.git.alison.schofield@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/acpi.c