Re: [RESEND v13 19/25] cxl/pci: Introduce CXL protocol error handlers for Endpoints

Bjorn Helgaas
2025-11-04T19:09:14Z

On Tue, Nov 04, 2025 at 11:02:59AM -0600, Terry Bowman wrote:
> CXL Endpoint protocol errors are currently handled by generic PCI error
> handlers. However, uncorrectable errors (UCEs) require CXL.mem protocol-
> specific handling logic that the PCI handlers cannot provide.

> +++ b/drivers/cxl/core/ras.c

> +static bool is_pcie_endpoint(struct pci_dev *pdev)
> +{
> + return pci_pcie_type(pdev) == PCI_EXP_TYPE_ENDPOINT;
> +}

Seems like a weird place for this since it's not CXL related.