aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2020-09-17 11:31:54 +0000
committerJoerg Roedel <[email protected]>2020-09-18 09:07:06 +0000
commitd5c152c3409ac1982a9277d8d344e073eda17e78 (patch)
tree2d5daacfcb5e7679880e4dc05bba21260fecc3a7 /drivers/usb/cdns3/cdns3-imx.c
parentiommu/tegra-smmu: Add locking around mapping operations (diff)
downloadkernel-d5c152c3409ac1982a9277d8d344e073eda17e78.tar.gz
kernel-d5c152c3409ac1982a9277d8d344e073eda17e78.zip
iommu/tegra-smmu: Fix tlb_mask
The "num_tlb_lines" might not be a power-of-2 value, being 48 on Tegra210 for example. So the current way of calculating tlb_mask using the num_tlb_lines is not correct: tlb_mask=0x5f in case of num_tlb_lines=48, which will trim a setting of 0x30 (48) to 0x10. 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