Re: [PATCH] media: venus: avoid multiple core dumps

From: Bryan O'Donoghue
Date: Wed Mar 06 2024 - 06:40:00 EST


On 06/03/2024 05:53, Dikshita Agarwal wrote:
Core dump is generated whenever there is system error reported
by firmware. Right now, multiple such dumps are generated if
recovery fails in first attempt, since the sys error handler is
invoked again for every failed recovery.
To avoid it, add conditional check to generate core dump only
once during every system error notification from firmware.

Signed-off-by: Dikshita Agarwal <quic_dikshita@xxxxxxxxxxx>
---

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>