diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-14 01:34:45 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-14 01:34:45 +0200 |
commit | f2e94683162565ff02d8d7386fadee175ab55e40 (patch) | |
tree | fb9752bf2288737623456872d93791b40c30582f /include | |
parent | Merge branch 'remotes/lorenzo/pci/misc' (diff) | |
parent | PCI: iproc: Add sorted dma ranges resource entries to host bridge (diff) | |
download | linux-f2e94683162565ff02d8d7386fadee175ab55e40.tar.xz linux-f2e94683162565ff02d8d7386fadee175ab55e40.zip |
Merge branch 'pci/iova-dma-ranges'
- Add list of legal DMA address ranges to PCI host bridge (Srinath
Mannam)
- Reserve inaccessible DMA ranges so IOMMU doesn't allocate them (Srinath
Mannam)
- Parse iProc DT dma-ranges to learn what PCI devices can reach via DMA
(Srinath Mannam)
* pci/iova-dma-ranges:
PCI: iproc: Add sorted dma ranges resource entries to host bridge
iommu/dma: Reserve IOVA for PCIe inaccessible DMA address
PCI: Add dma_ranges window list
# Conflicts:
# drivers/pci/probe.c
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 6fc361a69e0c..87edbd23eddb 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -492,6 +492,7 @@ struct pci_host_bridge { void *sysdata; int busnr; struct list_head windows; /* resource_entry */ + struct list_head dma_ranges; /* dma ranges resource list */ u8 (*swizzle_irq)(struct pci_dev *, u8 *); /* Platform IRQ swizzler */ int (*map_irq)(const struct pci_dev *, u8, u8); void (*release_fn)(struct pci_host_bridge *); |