1
0
Fork 0
alistair23-linux/arch/s390/pci
Gerald Schaefer c60d1ae4ef s390/pci: introduce lazy IOTLB flushing for DMA unmap
This changes the default IOTLB flushing method to lazy flushing, which
means that there will be no direct flush after each DMA unmap operation.
Instead, the iommu bitmap pointer will be adjusted after unmap, so that
no DMA address will be re-used until after an iommu bitmap wrap-around.
The only IOTLB flush will then happen after each wrap-around.

A new kernel parameter "s390_iommu=" is also introduced, to allow changing
the flushing behaviour to the old strict method.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-07-22 09:26:24 +02:00
..
Makefile s390: convert interrupt handling to use generic hardirq 2013-08-22 12:20:04 +02:00
pci.c s390/pci: fix kmsg component 2014-07-22 09:26:21 +02:00
pci_clp.c s390/pci: fix kmsg component 2014-07-22 09:26:21 +02:00
pci_debug.c s390/pci: fix kmsg component 2014-07-22 09:26:21 +02:00
pci_dma.c s390/pci: introduce lazy IOTLB flushing for DMA unmap 2014-07-22 09:26:24 +02:00
pci_event.c s390/pci: fix kmsg component 2014-07-22 09:26:21 +02:00
pci_insn.c s390/pci: cleanup function names 2013-08-22 12:20:03 +02:00
pci_sysfs.c s390/pci: fix kmsg component 2014-07-22 09:26:21 +02:00