Re: [PATCH v3] watchdog: s3c2410: Fix potential deadlock on &wdt->lock
From: Krzysztof Kozlowski
Date: Wed Jul 05 2023 - 05:38:26 EST
On 05/07/2023 11:09, Chengfeng Ye wrote:
> As &wdt->lock is acquired by hard irq s3c2410wdt_irq(),
> other acquisition of the same lock under process context should
> disable irq, otherwise deadlock could happen if the
> irq preempt the execution while the lock is held in process context
> on the same CPU.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof