diff options
| author | 2022-07-14 19:55:47 +0300 | |
|---|---|---|
| committer | 2022-07-15 10:30:44 +0200 | |
| commit | 5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e (patch) | |
| tree | db3a486b29d3df668aa8f0287da0d36426358920 /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | iommu/exynos: Handle failed IOMMU device registration properly (diff) | |
| download | linux-dev-5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e.tar.xz linux-dev-5f26ad58be8c0ca4dc8b13788a35e71b42cb3b4e.zip | |
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 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
