[PATCH] ath10k: snoc: fix unbalanced IRQ enable in crash recovery

Loic Poulain loic.poulain at oss.qualcomm.com
Fri May 23 05:49:15 PDT 2025


On Tue, Mar 18, 2025 at 8:50 PM Caleb Connolly
<caleb.connolly at linaro.org> wrote:
>
> In ath10k_snoc_hif_stop() we skip disabling the IRQs in the crash
> recovery flow, but we still unconditionally call enable again in
> ath10k_snoc_hif_start().
>
> We can't check the ATH10K_FLAG_CRASH_FLUSH bit since it is cleared
> before hif_start() is called, so instead check the
> ATH10K_SNOC_FLAG_RECOVERY flag and skip enabling the IRQs during crash
> recovery.
>
> This fixes unbalanced IRQ enable splats that happen after recovering from
> a crash.
>
> Fixes: 0e622f67e041 ("ath10k: add support for WCN3990 firmware crash recovery")
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>

Tested-by: Loic Poulain <loic.poulain at oss.qualcomm.com>



More information about the ath10k mailing list