summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2020-11-02 13:33:04 +0300
committerHeiko Carstens <hca@linux.ibm.com>2020-11-03 17:12:16 +0300
commit0b2ca2c7d0c9e2731d01b6c862375d44a7e13923 (patch)
treec3e72a576b1b27d5ffd7aeec42785f32bc15cd95 /CREDITS
parentde5d9dae150ca1c1b5c7676711a9ca139d1a8dec (diff)
downloadlinux-0b2ca2c7d0c9e2731d01b6c862375d44a7e13923.tar.xz
s390/pci: fix hot-plug of PCI function missing bus
Under some circumstances in particular with "Reconfigure I/O Path" a zPCI function may first appear in Standby through a PCI event with PEC 0x0302 which initially makes it visible to the zPCI subsystem, Only after that is it configured with a zPCI event with PEC 0x0301. If the zbus is still missing a PCI function zero (devfn == 0) when the PCI event 0x0301 is handled zdev->zbus->bus is still NULL and gets dereferenced in common code. Check for this case and enable but don't scan the zPCI function. This matches what would happen if we immediately got the 0x0301 configuration request or the function was included in CLP List PCI. In all cases the PCI functions with devfn != 0 will be scanned once function 0 appears. Fixes: 3047766bc6ec ("s390/pci: fix enabling a reserved PCI function") Cc: <stable@vger.kernel.org> # 5.8 Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Acked-by: Pierre Morel <pmorel@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions