diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2022-07-14 19:55:47 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-07-15 11:30:44 +0300 |
commit | 5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e (patch) | |
tree | db3a486b29d3df668aa8f0287da0d36426358920 /drivers/iommu/iommu-sysfs.c | |
parent | fce398d2d02c0a9a2bedf7c7201b123e153e8963 (diff) | |
download | linux-5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e.tar.xz |
iommu/exynos: Set correct dma mask for SysMMU v5+
SysMMU v5+ supports 36 bit physical address space. Set corresponding DMA
mask to avoid falling back to SWTLBIO usage in dma_map_single() because
of failed dma_capable() check.
The original code for this fix was suggested by Marek.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Co-developed-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220714165550.8884-4-semen.protsenko@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/iommu-sysfs.c')
0 files changed, 0 insertions, 0 deletions