[PATCH v3 1/2] PCI/AER: Fix missing uevent on recovery when a reset is requested

Lukas Wunner lukas at wunner.de
Thu Jul 31 23:04:22 AEST 2025


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: stable at vger.kernel.org
> Fixes: 7b42d97e99d3 ("PCI/ERR: Always report current recovery status for udev")
> Signed-off-by: Niklas Schnelle <schnelle at linux.ibm.com>

Reviewed-by: Lukas Wunner <lukas at wunner.de>


More information about the Linuxppc-dev mailing list