summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2016-08-09 17:31:35 +0100
committerJoerg Roedel <jroedel@suse.de>2016-08-10 12:02:02 +0200
commitc987ff0d3cb37d7fe1ddaa370811dfd9f73643fa (patch)
treefe17488dd0ef70dd4d7c20e854ff6617280320af /tools
parent3ec60043f7c02e1f79e4a90045ff2d2e80042941 (diff)
downloadlinux-c987ff0d3cb37d7fe1ddaa370811dfd9f73643fa.tar.bz2
iommu/dma: Respect IOMMU aperture when allocating
Where a device driver has set a 64-bit DMA mask to indicate the absence of addressing limitations, we still need to ensure that we don't allocate IOVAs beyond the actual input size of the IOMMU. The reported aperture is the most reliable way we have of inferring that input address size, so use that to enforce a hard upper limit where available. Fixes: 0db2e5d18f76 ("iommu: Implement common IOMMU ops for DMA mapping") Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions