cxl/acpi: Do not fail cxl_acpi_probe() based on a missing CHBS
authorAlison Schofield <alison.schofield@intel.com>
Thu, 7 Oct 2021 21:34:26 +0000 (14:34 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 8 Oct 2021 08:05:31 +0000 (01:05 -0700)
commit91a45b12d49e2b43d86caba25ed59fae43344ab8
tree1b0f00ed002a1b886f5a5dfc26c9323e02ed1346
parented97afb53365cd03dde266c9644334a558fe5a16
cxl/acpi: Do not fail cxl_acpi_probe() based on a missing CHBS

When an ACPI0016 Host Bridge device is present yet no corresponding
CEDT Host Bridge Structure (CHBS) exists, the ACPI probe method
fails.

Rather than fail, emit this warning and continue:
cxl_acpi ACPI0017:00: No CHBS found for Host Bridge: ACPI0016:02

This error may occur on systems that are not compliant with the
ACPI specification. Compliant systems include a CHBS entry for
every CXL host bridge that is present at boot.

Suggested-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Tested-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20211007213426.392644-1-alison.schofield@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/acpi.c