Re: [PATCH v13 4/4] drm/xe/ras: Use fault-inject to trigger cold-reset wedge

"Mallesh, Koujalagi" <[email protected]> Wed, 5 Aug 2026 15:31:05 +0530
Newsgroups org.freedesktop.lists.intel-xe,org.freedesktop.lists.dri-devel
Message-ID <[email protected]>
On 05-08-2026 02:43 pm, Raag Jadav wrote:
> On Wed, Aug 05, 2026 at 12:41:57PM +0530, Mallesh Koujalagi wrote:
>> Use the fault-inject framework to trigger the cold-reset
>> wedge path (punit_error_handler()) for testing the
>> wedge/recovery flow.
>>
>> Usage:
>>    echo 100 > .../wedge_cold_reset/probability
>>    echo 1   > .../wedge_cold_reset/times
>>
>> Signed-off-by: Mallesh Koujalagi <[email protected]>
>> ---
>> v13:
>> - Rename inject_punit_error to wedge_cold_reset. (Riana)
>> - Sashiko corner case issue addressed with
>>    commit 20bc4883c7c0 ("drm/xe/ras: Fix boot-time ras error processing").
> If the issue is already fixed, I don't see why this patch is still needed.
> But if it helps in any case,

Thanks Raag! This patch help to exercise the cold-reset wedge path 
(punit_error_handler())

without real punit error.

Thanks,

-/Mallesh

>
> Reviewed-by: Raag Jadav <[email protected]>