diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-01-05 16:50:38 -0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-01-07 14:10:46 +0000 |
commit | aded8c7c2b72f846a07a2c736b8e75bb8cf50a87 (patch) | |
tree | 7805b553e15f805b88a913daac2fb17cc0e4d2d8 /Kbuild | |
parent | 420d42f6f9db27d88bc4f83e3e668fcdacbf7e29 (diff) |
iommu/arm-smmu-qcom: Initialize SCTLR of the bypass context
On SM8150 it's occasionally observed that the boot hangs in between the
writing of SMEs and context banks in arm_smmu_device_reset().
The problem seems to coincide with a display refresh happening after
updating the stream mapping, but before clearing - and there by
disabling translation - the context bank picked to emulate translation
bypass.
Resolve this by explicitly disabling the bypass context already in
cfg_probe.
Fixes: f9081b8ff593 ("iommu/arm-smmu-qcom: Implement S2CR quirk")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210106005038.4152731-1-bjorn.andersson@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions