James Sewart
90053ff023
PCI: Add DMA alias quirk for PLX PEX NTB
...
[ Upstream commit 7b90dfc4873b87c468cc6046538f46a531c1d785 ]
The PLX PEX NTB forwards DMA transactions using Requester IDs that don't
exist as PCI devices. The devfn for a transaction is used as an index into
a lookup table storing the origin of a transaction on the other side of the
bridge.
Alias all possible devfns to the NTB device so that any transaction coming
in is governed by the mappings for the NTB.
Signed-off-by: James Sewart <jamessewart@arista.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:37 +01:00
..
controller
PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in
2020-02-24 08:36:35 +01:00
endpoint
hotplug
PCI: pciehp: Do not disable interrupt twice on suspend
2020-01-17 19:48:51 +01:00
pcie
PCI/AER: Initialize aer_fifo
2020-02-14 16:34:09 -05:00
switch
PCI/switchtec: Fix vep_vector_number ioread width
2020-02-14 16:34:09 -05:00
access.c
PCI: Make pcie_downstream_port() available outside of access.c
2019-09-07 07:45:25 -05:00
ats.c
bus.c
ecam.c
host-bridge.c
iov.c
PCI/IOV: Fix memory leak in pci_iov_add_virtfn()
2020-02-14 16:34:08 -05:00
irq.c
Kconfig
pci-v5.4-changes
2019-09-23 19:16:01 -07:00
Makefile
mmap.c
msi.c
PCI/MSI: Fix incorrect MSI-X masking on resume
2019-12-21 11:04:28 +01:00
of.c
PCI: OF: Correct of_irq_parse_pci() documentation
2019-08-30 14:00:34 -05:00
p2pdma.c
PCI/P2PDMA: Update pci_p2pdma_distance_many() documentation
2019-08-16 08:41:59 -05:00
pci-acpi.c
Merge branch 'pci/enumeration'
2019-09-23 16:10:08 -05:00
pci-bridge-emul.c
PCI: Use static const struct, not const static struct
2019-09-05 13:26:46 -05:00
pci-bridge-emul.h
pci-driver.c
PCI/PM: Clear PCIe PME Status even for legacy power management
2020-01-17 19:48:53 +01:00
pci-label.c
pci-mid.c
pci-pf-stub.c
pci-stub.c
pci-sysfs.c
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07:00
pci.c
PCI: Add nr_devfns parameter to pci_add_dma_alias()
2020-02-24 08:36:37 +01:00
pci.h
PCI: Fix pci_add_dma_alias() bitmask size
2020-02-24 08:36:24 +01:00
probe.c
PCI: Fix missing bridge dma_ranges resource list cleanup
2020-01-17 19:48:53 +01:00
proc.c
Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2019-09-28 08:14:15 -07:00
quirks.c
PCI: Add DMA alias quirk for PLX PEX NTB
2020-02-24 08:36:37 +01:00
remove.c
rom.c
search.c
PCI: Fix pci_add_dma_alias() bitmask size
2020-02-24 08:36:24 +01:00
setup-bus.c
PCI: Don't disable bridge BARs when assigning bus resources
2020-02-14 16:34:09 -05:00
setup-irq.c
setup-res.c
slot.c
syscall.c
PCI: Lock down BAR access when the kernel is locked down
2019-08-19 21:54:15 -07:00
vc.c
Merge branch 'pci/trivial'
2019-09-23 16:10:31 -05:00
vpd.c
PCI/VPD: Prevent VPD access for Amazon's Annapurna Labs Root Port
2019-09-16 14:10:09 +01:00
xen-pcifront.c