[PATCH v3] watchdog: s3c2410: Fix potential deadlock on &wdt->lock

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Wed Jul 5 02:37:59 PDT 2023


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 at linaro.org>

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list