Messages in this thread | | | Date | Fri, 11 Sep 2020 08:26:29 +0000 | From | Sai Prakash Ranjan <> | Subject | Re: [PATCH v3 5/8] iommu/arm-smmu-qcom: Consistently initialize stream mappings |
| |
On 2020-09-04 21:25, Bjorn Andersson wrote: > 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: Bjorn Andersson <bjorn.andersson@linaro.org> > ---
Reviewed-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> Tested-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
-- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
| |