]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
authorDmitry Osipenko <digetx@gmail.com>
Wed, 6 Mar 2019 22:50:07 +0000 (01:50 +0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 11 Apr 2019 12:51:37 +0000 (14:51 +0200)
commit43a0541e312f7136e081e6bf58f6c8a2e9672688
treeb25e1201eea223aa57f8a51c4691bc097bb90edd
parent15ade5d2e7775667cf191cf2f94327a4889f8b9d
iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114

Both Tegra30 and Tegra114 have 4 ASID's and the corresponding bitfield of
the TLB_FLUSH register differs from later Tegra generations that have 128
ASID's.

In a result the PTE's are now flushed correctly from TLB and this fixes
problems with graphics (randomly failing tests) on Tegra30.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/tegra-smmu.c