summaryrefslogtreecommitdiffstats
path: root/mm/mmu_notifier.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-02-01 14:28:27 +0100
committerThierry Reding <treding@nvidia.com>2019-02-07 18:28:57 +0100
commit38fabcc953883741313d707a919326f77c2d7214 (patch)
treec05dab3f17eb6ab2a05cdb3645ed6d99ff9703f4 /mm/mmu_notifier.c
parent67a82dbc0a374df7a348cc8fb28982945035bd25 (diff)
downloadlinux-38fabcc953883741313d707a919326f77c2d7214.tar.bz2
gpu: host1x: Restrict IOVA space to DMA mask
On Tegra186 and later, the ARM SMMU provides an input address space that is 48 bits wide. However, memory clients can only address up to 40 bits. If the geometry is used as-is, allocations of IOVA space can end up in a region that is not addressable by the memory clients. To fix this, restrict the IOVA space to the DMA mask of the host1x device. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions