OSDN Git Service

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)
committerWill Deacon <will@kernel.org>
Tue, 8 Jun 2021 11:35:50 +0000 (12:35 +0100)
commita242f4297cfe3f4589a7620dcd42cc503607fc6b
treea3e4b0a8caa94a690cf02e983fcc5690eff70d99
parent6321484d1c2416ce08f4ffc47b9f3d2bacc6819e
iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.

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>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c