linux/arch/s390/pci
Christian Borntraeger 48070c7305 s390/pci: do not require AIS facility
As of today QEMU does not provide the AIS facility to its guest.  This
prevents Linux guests from using PCI devices as the ais facility is
checked during init. As this is just a performance optimization, we can
move the ais check into the code where we need it (calling the SIC
instruction). This is used at initialization and on interrupt. Both
places do not require any serialization, so we can simply skip the
instruction.

Since we will now get all interrupts, we can also avoid the 2nd scan.
As we can have multiple interrupts in parallel we might trigger spurious
irqs more often for the non-AIS case but the core code can handle that.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Acked-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2017-11-08 09:47:39 +01:00
..
Makefile s390/kernel: add system calls for PCI memory access 2014-11-19 09:46:43 +01:00
pci.c s390/pci: do not require AIS facility 2017-11-08 09:47:39 +01:00
pci_clp.c s390/pci: log changes to uid checking 2017-08-09 09:09:41 -04:00
pci_debug.c s390/atomic: refactor atomic primitives 2016-11-11 16:37:33 +01:00
pci_dma.c This is the first pull request for the new dma-mapping subsystem 2017-07-06 19:20:54 -07:00
pci_event.c s390/pci: improve pci hotplug 2017-06-28 07:32:12 +02:00
pci_insn.c s390/pci: do not require AIS facility 2017-11-08 09:47:39 +01:00
pci_mmio.c s390/pci: fix possible information leak in mmio syscall 2015-02-26 09:24:48 +01:00
pci_sysfs.c s390/pci: add report_error attribute 2016-04-15 18:16:39 +02:00