[PATCH v2] iommu/arm-smmu-qcom: Only enable stall on smmu-v2
Akhil P Oommen
quic_akhilpo at quicinc.com
Mon Jan 6 20:10:47 UTC 2025
On 1/3/2025 1:00 AM, Akhil P Oommen wrote:
> On 1/3/2025 12:02 AM, Rob Clark wrote:
>> From: Rob Clark <robdclark at chromium.org>
>>
>> On mmu-500, stall-on-fault seems to stall all context banks, causing the
>> GMU to misbehave. So limit this feature to smmu-v2 for now.
>>
>> This fixes an issue with an older mesa bug taking outo the system
>> because of GMU going off into the weeds.
>>
>> What we _think_ is happening is that, if the GPU generates 1000's of
>> faults at ~once (which is something that GPUs can be good at), it can
>> result in a sufficient number of stalled translations preventing other
>> transactions from entering the same TBU.
>>
>> Signed-off-by: Rob Clark <robdclark at chromium.org>
>
> Reviewed-by: Akhil P Oommen <quic_akhilpo at quicinc.com>
>
Btw, if stall is not enabled, I think there is no point in capturing
coredump from adreno pagefault handler. By the time we start coredump,
gpu might have switched context.
-Akhil.
> -Akhil
>
More information about the Freedreno
mailing list