]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/pci: Do not try re-enabling load/store if device is disabled
authorNiklas Schnelle <schnelle@linux.ibm.com>
Wed, 25 Jun 2025 09:28:29 +0000 (11:28 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sat, 28 Jun 2025 16:58:59 +0000 (18:58 +0200)
commitb97a7972b1f4f81417840b9a2ab0c19722b577d5
tree9f98bf8477bb9c7ef6eaa7a23f2246c483ff3c87
parent45537926dd2aaa9190ac0fac5a0fbeefcadfea95
s390/pci: Do not try re-enabling load/store if device is disabled

If a device is disabled unblocking load/store on its own is not useful
as a full re-enable of the function is necessary anyway. Note that SCLP
Write Event Data Action Qualifier 0 (Reset) leaves the device disabled
and triggers this case unless the driver already requests a reset.

Cc: stable@vger.kernel.org
Fixes: 4cdf2f4e24ff ("s390/pci: implement minimal PCI error recovery")
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/pci/pci_event.c