[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zo/Nd/lLNp1Kgk4F@duo.ucw.cz>
Date: Thu, 11 Jul 2024 14:17:59 +0200
From: Pavel Machek <pavel@....cz>
To: Sasha Levin <sashal@...nel.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Ian Ray <ian.ray@...ealthcare.com>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
linus.walleij@...aro.org, brgl@...ev.pl, linux-gpio@...r.kernel.org
Subject: Re: [PATCH AUTOSEL 4.19 4/7] gpio: pca953x: fix
pca953x_irq_bus_sync_unlock race
Hi!
> From: Ian Ray <ian.ray@...ealthcare.com>
>
> [ Upstream commit bfc6444b57dc7186b6acc964705d7516cbaf3904 ]
>
> Ensure that `i2c_lock' is held when setting interrupt latch and mask in
> pca953x_irq_bus_sync_unlock() in order to avoid races.
>
> The other (non-probe) call site pca953x_gpio_set_multiple() ensures the
> lock is held before calling pca953x_write_regs().
>
> The problem occurred when a request raced against irq_bus_sync_unlock()
> approximately once per thousand reboots on an i.MX8MP based system.
I don't see this queued for 5.10-stable.
Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists