Re: [PATCH v19 06/14] PCI/AER: Introduce AER-CXL protocol error kfifo

[email protected] Mon, 03 Aug 2026 22:28:59 +0000
Newsgroups org.kernel.vger.linux-pci,org.kernel.vger.linux-cxl
Message-ID <[email protected]>
> CXL VH RAS handling requires a path for the AER driver to hand off CXL
> protocol errors to cxl_core for logging and recovery before PCIe AER
> recovery tears down the device. Introduce drivers/pci/pcie/aer_cxl_vh.c to
> implement this handoff via a kfifo-backed work item.
>=20
> Move is_aer_internal_error() into this new file. It identifies AER intern=
al
> error status bits across both correctable and uncorrectable severities.
>=20
> Introduce is_cxl_error() to gate the VH kfifo path.
>=20
> Introduce struct cxl_proto_err_work_data to carry the error source PCI
> device and severity through the kfifo.
>=20
> Introduce cxl_forward_error() to enqueue a CXL protocol error. A reference
> is taken on the PCI device; the consumer releases it via
> [ ... ]
> bridging code.
>=20
> Co-developed-by: Dan Williams <[email protected]>
> Signed-off-by: Dan Williams <[email protected]>
> Signed-off-by: Terry Bowman <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

--=20
Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260803221810.3685=
[email protected]?part=3D6