diff options
| author | Nicolin Chen <[email protected]> | 2020-09-11 07:16:42 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2020-09-24 10:32:31 +0000 |
| commit | 4fba98859b819961d8e1fe862b79052ff4b687b8 (patch) | |
| tree | 424380625f3cdc54ea3b8ba2e4fc301e70d9de43 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | iommu/tegra-smmu: Do not use PAGE_SHIFT and PAGE_MASK (diff) | |
| download | kernel-4fba98859b819961d8e1fe862b79052ff4b687b8.tar.gz kernel-4fba98859b819961d8e1fe862b79052ff4b687b8.zip | |
iommu/tegra-smmu: Fix iova->phys translation
IOVA might not be always 4KB aligned. So tegra_smmu_iova_to_phys
function needs to add on the lower 12-bit offset from input iova.
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
