aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorSrinath Mannam <[email protected]>2019-05-03 14:05:33 +0000
committerBjorn Helgaas <[email protected]>2019-05-06 21:03:07 +0000
commitaadad097cd46f783b75c235cffa5c21fcffbf189 (patch)
treeabb3d5b5097f9b778e7f7206f617a87c3006d73b /drivers/fpga/fpga-bridge.c
parentPCI: Add dma_ranges window list (diff)
downloadkernel-aadad097cd46f783b75c235cffa5c21fcffbf189.tar.gz
kernel-aadad097cd46f783b75c235cffa5c21fcffbf189.zip
iommu/dma: Reserve IOVA for PCIe inaccessible DMA address
The dma_ranges list field of PCI host bridge structure has resource entries in sorted order representing address ranges allowed for DMA transfers. Process the list and reserve IOVA addresses that are not present in its resource entries (ie DMA memory holes) to prevent allocating IOVA addresses that cannot be accessed by PCI devices. Based-on-a-patch-by: Oza Pawandeep <[email protected]> Signed-off-by: Srinath Mannam <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Oza Pawandeep <[email protected]> Acked-by: Robin Murphy <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions