summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2020-09-11 10:16:41 +0300
committerJoerg Roedel <jroedel@suse.de>2020-09-24 13:32:31 +0300
commit82fa58e81d9edc77182aaba4110c3124481e6704 (patch)
tree1e316fbc8ec5369f3c877b1ce8652d4b2bbbe5fc /tools/perf/scripts/python/export-to-postgresql.py
parent675d12acb66bb190d32a3fae187e379f01cbd8ce (diff)
downloadlinux-82fa58e81d9edc77182aaba4110c3124481e6704.tar.xz
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 <nicoleotsuka@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200911071643.17212-2-nicoleotsuka@gmail.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions