Re: [PATCH] wifi: ath12k: fix soft lockup on suspend

From: Jeff Johnson
Date: Tue Jul 09 2024 - 10:18:08 EST


On 7/9/2024 12:31 AM, Johan Hovold wrote:
> The ext interrupts are enabled when the firmware has been started, but
> this may never happen, for example, if the board configuration file is
> missing.
>
> When the system is later suspended, the driver unconditionally tries to
> disable interrupts, which results in an irq disable imbalance and causes
> the driver to spin indefinitely in napi_synchronize().
>
> Make sure that the interrupts have been enabled before attempting to
> disable them.
>
> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
> Cc: stable@xxxxxxxxxxxxxxx # 6.3
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>