summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-07-24 01:16:10 +0300
committerChristoph Hellwig <hch@lst.de>2018-07-27 20:01:06 +0300
commit03bfdc31176cbe21e456f889ccbbf67568831149 (patch)
tree25ae917520c023e69f0ccb71b71d56c20198592e /drivers/acpi
parent6c2fb2ea76361da9b420a8e23a2a19e7842cbdda (diff)
downloadlinux-03bfdc31176cbe21e456f889ccbbf67568831149.tar.xz
iommu/dma: Respect bus DMA limit for IOVAs
Take the new bus limit into account (when present) for IOVA allocations, to accommodate those SoCs which integrate off-the-shelf IP blocks with narrower interconnects such that the link between a device output and an IOMMU input can truncate DMA addresses to even fewer bits than the native size of either block's interface would imply. Eventually it might make sense for the DMA core to apply this constraint up-front in dma_set_mask() and friends, but for now this seems like the least risky approach. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions