Rob Clark bffb2eaf0b iommu/arm-smmu: Add a way for implementations to influence SCTLR
For the Adreno GPU's SMMU, we want SCTLR.HUPCF set to ensure that
pending translations are not terminated on iova fault.  Otherwise
a terminated CP read could hang the GPU by returning invalid
command-stream data. Add a hook to for the implementation to modify
the sctlr value if it wishes.

Co-developed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Link: https://lore.kernel.org/r/20201109184728.2463097-3-jcrouse@codeaurora.org
Signed-off-by: Will Deacon <will@kernel.org>
2020-11-10 12:25:49 +00:00
..
2020-10-15 14:43:29 -07:00
2020-10-20 09:35:06 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 14:43:29 -07:00
2019-10-15 13:34:25 +02:00
2020-10-14 12:08:34 -07:00
2020-08-11 14:13:24 -07:00
2020-07-29 14:47:37 +02:00