diff options
author | Bjorn Andersson <[email protected]> | 2020-10-19 11:23:23 -0700 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-10-29 18:12:10 +0000 |
commit | f9081b8ff5934b8d69c748d0200e844cadd2c667 (patch) | |
tree | f0250279c0f22c7fd43c6ea7e470e717068a026a /scripts/bpf_helpers_doc.py | |
parent | 07a7f2caaa5a2619934491bab3c47b261c554fb0 (diff) |
iommu/arm-smmu-qcom: Implement S2CR quirk
The firmware found in some Qualcomm platforms intercepts writes to S2CR
in order to replace bypass type streams with fault; and ignore S2CR
updates of type fault.
Detect this behavior and implement a custom write_s2cr function in order
to trick the firmware into supporting bypass streams by the means of
configuring the stream for translation using a reserved and disabled
context bank.
Also circumvent the problem of configuring faulting streams by
configuring the stream as bypass.
Cc: <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Tested-by: Steev Klimaszewski <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions