diff options
author | Nicolin Chen <[email protected]> | 2020-09-11 00:16:41 -0700 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-09-24 12:32:31 +0200 |
commit | 82fa58e81d9edc77182aaba4110c3124481e6704 (patch) | |
tree | 1e316fbc8ec5369f3c877b1ce8652d4b2bbbe5fc /tools/perf/scripts/python/check-perf-trace.py | |
parent | 675d12acb66bb190d32a3fae187e379f01cbd8ce (diff) |
iommu/tegra-smmu: Do not use PAGE_SHIFT and PAGE_MASK
PAGE_SHIFT and PAGE_MASK are defined corresponding to the page size
for CPU virtual addresses, which means PAGE_SHIFT could be a number
other than 12, but tegra-smmu maintains fixed 4KB IOVA pages and has
fixed [21:12] bit range for PTE entries.
So this patch replaces all PAGE_SHIFT/PAGE_MASK references with the
macros defined with SMMU_PTE_SHIFT.
Signed-off-by: Nicolin Chen <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions