]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5430e85718ff45ed85ba18a4da9691487a27b42
treea7c581cbe41f2faea4748ba58f6f75af086cb39c
parent20f48ec2e36b5591c2463b874f25466ebad1e55d
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