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

From
Lukas Wunner <lukas@wunner.de>
Date
2025-07-31 13:04:24
Also in
linux-pci, linux-s390, lkml
Reply to
Niklas Schnelle, 2025-07-30
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: <redacted>
Fixes: 7b42d97e99d3 ("PCI/ERR: Always report current recovery status for udev")
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Thread (12 messages) 12 messages, 3 authors, last reply 2025-08-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help