Thread (32 messages) flat view 32 messages, 9 authors, 2020-10-13

Re: [PATCH v3 5/8] iommu/arm-smmu-qcom: Consistently initialize stream mappings

From: Sai Prakash Ranjan <hidden>
Date: 2020-09-11 08:27:44

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 <redacted>
---
Reviewed-by: Sai Prakash Ranjan <redacted>
Tested-by: Sai Prakash Ranjan <redacted>


-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a 
member
of Code Aurora Forum, hosted by The Linux Foundation

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help