Commit 70892277 authored by Connor Abbott's avatar Connor Abbott Committed by Will Deacon
Browse files

iommu/arm-smmu-qcom: Make set_stall work when the device is on



Up until now we have only called the set_stall callback during
initialization when the device is off. But we will soon start calling it
to temporarily disable stall-on-fault when the device is on, so handle
that by checking if the device is on and writing SCTLR.

Signed-off-by: default avatarConnor Abbott <cwabbott0@gmail.com>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Link: https://lore.kernel.org/r/20250520-msm-gpu-fault-fixes-next-v8-3-fce6ee218787@gmail.com


[will: Fix "mixed declarations and code" warning from sparse]
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 3053a2c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment