aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2020-09-11 07:16:41 +0000
committerJoerg Roedel <[email protected]>2020-09-24 10:32:31 +0000
commit82fa58e81d9edc77182aaba4110c3124481e6704 (patch)
tree1e316fbc8ec5369f3c877b1ce8652d4b2bbbe5fc /drivers/usb/cdns3/cdns3-imx.c
parentmemory: tegra: Correct num_tlb_lines for tegra210 (diff)
downloadkernel-82fa58e81d9edc77182aaba4110c3124481e6704.tar.gz
kernel-82fa58e81d9edc77182aaba4110c3124481e6704.zip
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions