PCI/CXL: Export native CXL error reporting control
authorIra Weiny <ira.weiny@intel.com>
Mon, 12 Dec 2022 07:06:19 +0000 (23:06 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 5 Jan 2023 21:31:27 +0000 (13:31 -0800)
commit589c3357370a596ef7c99c00baca8ac799fce531
tree21c318f378c79bbfb616013bd6d08af0bdb8adda
parent4a20bc3e207488064e08fc5d7220d6acf95c80dd
PCI/CXL: Export native CXL error reporting control

CXL _OSC Error Reporting Control is used by the OS to determine if
Firmware has control of various CXL error reporting capabilities
including the event logs.

Expose the result of negotiating CXL Error Reporting Control in struct
pci_host_bridge for consumption by the CXL drivers.

Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: linux-pci@vger.kernel.org
Cc: linux-acpi@vger.kernel.org
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20221212070627.1372402-2-ira.weiny@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/pci_root.c
drivers/pci/probe.c
include/linux/pci.h