linux/arch/s390/pci
Niklas Schnelle 21c1f9021f s390/pci: use lock-free I/O translation updates
I/O translation tables on s390 use 8 byte page table entries and tables
which are allocated lazily but only freed when the entire I/O
translation table is torn down. Also each IOVA can at any time only
translate to one physical address Furthermore I/O table accesses by the
IOMMU hardware are cache coherent. With a bit of care we can thus use
atomic updates to manipulate the translation table without having to use
a global lock at all. This is done analogous to the existing I/O
translation table handling code used on Intel and AMD x86 systems.

Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20221109142903.4080275-6-schnelle@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2022-11-19 10:28:18 +01:00
..
Makefile KVM: s390: pci: Hook to access KVM lowlevel from VFIO 2022-08-29 13:29:28 +02:00
pci_bus.c s390/pci: allow zPCI zbus without a function zero 2022-07-22 16:06:13 -05:00
pci_bus.h s390/pci: rename get_zdev_by_bus() to zdev_from_bus() 2022-03-27 22:18:40 +02:00
pci_clp.c s390/pci: stash dtsm and maxstbl 2022-07-11 09:54:24 +02:00
pci_debug.c s390/pci: make better use of zpci_dbg() levels 2022-04-25 13:54:15 +02:00
pci_dma.c s390/pci: use lock-free I/O translation updates 2022-11-19 10:28:18 +01:00
pci_event.c s390/pci: don't log availability events as errors 2022-04-25 13:54:15 +02:00
pci_insn.c KVM: s390: pci: provide routines for enabling/disabling interrupt forwarding 2022-07-11 09:54:32 +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 s390/pci: stash associated GISA designation 2022-07-11 09:54:22 +02:00
pci_kvm_hook.c KVM: s390: pci: Hook to access KVM lowlevel from VFIO 2022-08-29 13:29:28 +02:00
pci_mmio.c s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser() 2022-10-26 14:47:31 +02:00
pci_sysfs.c s390/pci: tolerate inconsistent handle in recover 2021-10-04 09:49:36 +02:00
pci.c iommu/s390: Use RCU to allow concurrent domain_list iteration 2022-11-19 10:28:16 +01:00