linux-stable/arch/s390/pci
Niklas Schnelle 0d9cf5d8c5 s390/pci: handle stale deconfiguration events
The PCIs event with PEC 0x0303 or 0x0304 are a request to deconfigure
a PCI function, respectively an indication that it was already
deconfigured by the platform. If such an event is queued during boot it
may happen that the platform has already adjusted the configuration flag
of the relevant function in the CLP List PCI Functions result. In this
case we might not have configured the PCI function at all and should
thus ignore the event. Note that no locking is necessary as event
handling only starts after we have fully initialized the zPCI subsystem
and scanned all PCI devices listed in the CLP result.

Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: Pierre Morel <pmorel@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-04-30 17:17:00 +02:00
..
Makefile s390/pci: consolidate SR-IOV specific code 2020-09-14 11:38:34 +02:00
pci.c s390/pci: rename zpci_configure_device() 2021-04-30 17:17:00 +02:00
pci_bus.c s390/pci: separate zbus registration from scanning 2021-04-12 12:46:42 +02:00
pci_bus.h s390/pci: separate zbus registration from scanning 2021-04-12 12:46:42 +02:00
pci_clp.c s390/pci: refactor zpci_create_device() 2021-02-09 15:57:04 +01:00
pci_debug.c locking/atomic, s390/pci: Remove redundant casts 2019-06-03 12:32:57 +02:00
pci_dma.c dma-mapping: split <linux/dma-mapping.h> 2020-10-06 07:07:03 +02:00
pci_event.c s390/pci: handle stale deconfiguration events 2021-04-30 17:17:00 +02:00
pci_insn.c s390/pci: provide support for MIO instructions 2019-04-29 10:47:01 +02:00
pci_iov.c s390/pci: add missing pci_iov.h include 2020-09-16 14:08:47 +02:00
pci_iov.h s390/pci: consolidate SR-IOV specific code 2020-09-14 11:38:34 +02:00
pci_irq.c Scheduler updates: 2020-12-14 18:29:11 -08:00
pci_mmio.c mm: provide a saner PTE walking API for modules 2021-02-09 07:05:44 -05:00
pci_sysfs.c s390/pci: expose a PCI device's UID as its index 2021-04-20 14:48:27 +02:00