]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.
authorEric Anholt <eric@anholt.net>
Fri, 26 Mar 2021 23:13:02 +0000 (16:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:02:08 +0000 (16:02 +0200)
commit3a6ebad10d45a8bb76a4bdacc1f8f7514e848c29
treefbbea8bd3a7f783bc0d3fffcd9ef7a51fe036af2
parent8bea2c4d596b25702763bbc3dcc281d25104ccff
iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.

[ Upstream commit a242f4297cfe3f4589a7620dcd42cc503607fc6b ]

db820c wants to use the qcom smmu path to get HUPCF set (which keeps
the GPU from wedging and then sometimes wedging the kernel after a
page fault), but it doesn't have separate pagetables support yet in
drm/msm so we can't go all the way to the TTBR1 path.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210326231303.3071950-1-eric@anholt.net
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c