Commit 658cac2c authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Vinod Koul
Browse files

iommu/arm-smmu-qcom: Consstently initialize stream mappings



Firmware that traps writes to S2CR to translate BYPASS into FAULT also
ignores writes of type FAULT. As such booting with "disable_bypass" set
will result in all S2CR registers left as configured by the bootloader.

This has been seen to result in indeterministic results, as these
mappings might linger and reference context banks that Linux is
reconfiguring.

Use the fact that BYPASS writes result in FAULT type to force all stream
mappings to FAULT.

Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Message-Id: <20200709050145.3520931-5-bjorn.andersson@linaro.org>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9ac66697
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment