Re: [RESEND v13 19/25] cxl/pci: Introduce CXL protocol error handlers for Endpoints
From: Bjorn Helgaas
Date: Tue Nov 04 2025 - 14:09:32 EST
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.