From: Philipp Zabel <p.zabel@pengutronix.de>
To: shengjiu.wang@oss.nxp.com, krzk@kernel.org, hansg@kernel.org,
linux-kernel@vger.kernel.org, broonie@kernel.org,
alvin.sipraga@analog.com
Subject: Re: [PATCH v4 0/2] reset: Serialize shared resets whose ops may sleep
Date: Tue, 03 Nov 2026 11:31:19 +0100 [thread overview]
Message-ID: <494e3f11c03c9d7a58bd334b899bee1417d7e122.camel@pengutronix.de> (raw)
In-Reply-To: <20261023071609.3795354-1-shengjiu.wang@oss.nxp.com>
On Fr, 2026-10-23 at 15:16 +0800, shengjiu.wang@oss.nxp.com wrote:
> From: Shengjiu Wang <shengjiu.wang@nxp.com>
>
> For a shared reset only the first caller runs the hardware op; the others
> bump the refcount and return. When the op can sleep, a concurrent caller can
> return before the first caller's op has finished and then touch hardware
> still in reset.
>
> [...]
Applied to reset/next, thanks!
[1/2] reset: core: Serialize concurrent deassert/reset of shared resets
https://git.kernel.org/pub/scm/linux/kernel/git/pza/linux.git/commit/?id=bd357ffa1145
[2/2] reset: gpio: Set can_sleep for the shared reset serialization
https://git.kernel.org/pub/scm/linux/kernel/git/pza/linux.git/commit/?id=526bed2c313b
regards
Philipp
prev parent reply other threads:[~2026-11-03 10:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 7:16 shengjiu.wang
2026-10-23 7:16 ` [PATCH v4 1/2] reset: core: Serialize concurrent deassert/reset of shared resets shengjiu.wang
2026-10-23 8:42 ` Alvin Šipraga
2026-10-26 9:24 ` Philipp Zabel
2026-10-23 7:16 ` [PATCH v4 2/2] reset: gpio: Set can_sleep for the shared reset serialization shengjiu.wang
2026-10-23 8:43 ` Alvin Šipraga
2026-10-26 9:24 ` Philipp Zabel
2026-11-03 10:31 ` Philipp Zabel [this message]
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=494e3f11c03c9d7a58bd334b899bee1417d7e122.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=alvin.sipraga@analog.com \
--cc=broonie@kernel.org \
--cc=hansg@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shengjiu.wang@oss.nxp.com \
/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®