On Wed, Jul 30, 2025 at 01:20:57PM +0200, Niklas Schnelle wrote:
> Since commit 7b42d97e99d3 ("PCI/ERR: Always report current recovery
> status for udev") AER uses the result of error_detected() as parameter
> to pci_uevent_ers(). As pci_uevent_ers() however does not handle
> PCI_ERS_RESULT_NEED_RESET this results in a missing uevent for the
> beginning of recovery if drivers request a reset. Fix this by treating
> PCI_ERS_RESULT_NEED_RESET as beginning recovery.
>
> Cc: [email protected]
> Fixes: 7b42d97e99d3 ("PCI/ERR: Always report current recovery status for
> udev")
> Signed-off-by: Niklas Schnelle <[email protected]>
Reviewed-by: Lukas Wunner <[email protected]>