Re: [RESEND v13 22/25] CXL/PCI: Export and rename merge_result() to pci_ers_merge_result()

From: Jonathan Cameron
Date: Tue Nov 04 2025 - 13:41:20 EST


On Tue, 4 Nov 2025 11:03:02 -0600
Terry Bowman <terry.bowman@xxxxxxx> wrote:

> CXL uncorrectable errors (UCE) will soon be handled separately from the PCI
> AER handling. The merge_result() function can be made common to use in both
> handling paths.
>
> Rename the PCI subsystem's merge_result() to be pci_ers_merge_result().
> Export pci_ers_merge_result() to make available for the CXL and other
> drivers to use.
>
> Update pci_ers_merge_result() to support recently introduced PCI_ERS_RESULT_PANIC
> result.
>
> Signed-off-by: Terry Bowman <terry.bowman@xxxxxxx>

Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>