From: Pavel Machek <pavel@ucw.cz>
To: Sasha Levin <sashal@kernel.org>
Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Ian Ray <ian.ray@gehealthcare.com>,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>,
linus.walleij@linaro.org, brgl@bgdev.pl,
linux-gpio@vger.kernel.org
Subject: Re: [PATCH AUTOSEL 4.19 4/7] gpio: pca953x: fix pca953x_irq_bus_sync_unlock race
Date: Thu, 11 Jul 2024 14:17:59 +0200 [thread overview]
Message-ID: <Zo/Nd/lLNp1Kgk4F@duo.ucw.cz> (raw)
In-Reply-To: <20240709162726.33610-4-sashal@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
Hi!
> From: Ian Ray <ian.ray@gehealthcare.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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2024-07-11 12:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 16:27 [PATCH AUTOSEL 4.19 1/7] Input: elantech - fix touchpad state on resume for Lenovo N24 Sasha Levin
2024-07-09 16:27 ` [PATCH AUTOSEL 4.19 2/7] bytcr_rt5640 : inverse jack detect for Archos 101 cesium Sasha Levin
2024-07-09 16:27 ` [PATCH AUTOSEL 4.19 3/7] can: kvaser_usb: fix return value for hif_usb_send_regout Sasha Levin
2024-07-09 16:27 ` [PATCH AUTOSEL 4.19 4/7] gpio: pca953x: fix pca953x_irq_bus_sync_unlock race Sasha Levin
2024-07-11 12:17 ` Pavel Machek [this message]
2024-07-09 16:27 ` [PATCH AUTOSEL 4.19 5/7] s390/sclp: Fix sclp_init() cleanup on failure Sasha Levin
2024-07-09 16:27 ` [PATCH AUTOSEL 4.19 6/7] ALSA: dmaengine_pcm: terminate dmaengine before synchronize Sasha Levin
2024-07-09 16:27 ` [PATCH AUTOSEL 4.19 7/7] net: usb: qmi_wwan: add Telit FN912 compositions Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zo/Nd/lLNp1Kgk4F@duo.ucw.cz \
--to=pavel@ucw.cz \
--cc=bartosz.golaszewski@linaro.org \
--cc=brgl@bgdev.pl \
--cc=ian.ray@gehealthcare.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®