aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSrinath Mannam <[email protected]>2019-05-03 19:35:33 +0530
committerBjorn Helgaas <[email protected]>2019-05-06 16:03:07 -0500
commitaadad097cd46f783b75c235cffa5c21fcffbf189 (patch)
treeabb3d5b5097f9b778e7f7206f617a87c3006d73b /tools/perf/scripts/python/exported-sql-viewer.py
parente80a91ad302b3b66822756afc61f9f9c1658b9c9 (diff)
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions