[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b7e8438-411b-457b-1e5b-c4b37981ef67@linaro.org>
Date: Wed, 5 Jul 2023 11:37:59 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Chengfeng Ye <dg573847474@...il.com>, alim.akhtar@...sung.com,
wim@...ux-watchdog.org, linux@...ck-us.net
Cc: linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-watchdog@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] watchdog: s3c2410: Fix potential deadlock on
&wdt->lock
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@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists