Re: [PATCH v4 0/2] reset: Serialize shared resets whose ops may sleep

From: Philipp Zabel

Date: Tue Nov 03 2026 - 05:48:13 EST


On Fr, 2026-10-23 at 15:16 +0800, shengjiu.wang@xxxxxxxxxxx wrote:
> From: Shengjiu Wang <shengjiu.wang@xxxxxxx>
>
> 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