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

Jonathan Cameron
2025-11-04T18:41:04Z

On Tue, 4 Nov 2025 11:03:02 -0600
Terry Bowman <terry.bowman@amd.com> 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@amd.com>

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