From: Herbert Xu <herbert@gondor.apana.org.au>
To: Jiawen Liu <1298662399@qq.com>
Cc: Deepak Saxena <dsaxena@plexity.net>,
Olivia Mackall <olivia@selenic.com>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH v2] char: omap-rng: fix runtime PM cleanup
Date: Wed, 16 Sep 2026 22:32:04 +1000 [thread overview]
Message-ID: <aqqMRKATsLFj4jFG@gondor.apana.org.au> (raw)
In-Reply-To: <tencent_0D4EB3807DBF6095A7F5A9455D902DBA9708@qq.com>
On Fri, Sep 04, 2026 at 02:26:54PM +0400, Jiawen Liu wrote:
> omap_rng_probe() enables runtime PM before requesting its optional clocks.
> If either devm_clk_get() returns -EPROBE_DEFER, the direct return leaves
> the runtime PM usage count elevated and runtime PM enabled. The second
> clock lookup can also leave the first clock enabled.
>
> Route each deferred-probe path through resource-matched cleanup. Return
> directly after cleanup so normal probe deferrals remain quiet.
>
> Fixes: 43ec540e6f9b ("hwrng: omap - move clock related code to omap_rng_probe()")
> Cc: stable@vger.kernel.org
> Signed-off-by: Jiawen Liu <1298662399@qq.com>
> ---
> Changes in v2:
> - Use the full author name in From and Signed-off-by.
> - Return directly after deferred-probe cleanup to keep deferrals quiet.
> - Add Fixes and Cc stable tags.
>
> v1: https://lore.kernel.org/all/tencent_1DBD00BAFF365506D40F166D40DEE8F63B0A@qq.com/
> Sashiko review: https://sashiko.dev/#/patchset/tencent_1DBD00BAFF365506D40F166D40DEE8F63B0A%40qq.com
>
> drivers/char/hw_random/omap-rng.c | 22 ++++++++++++++++++----
> 1 file changed, 18 insertions(+), 4 deletions(-)
Sashiko couldn't apply your patch against linux-next:
https://sashiko.dev/#/patchset/tencent_0D4EB3807DBF6095A7F5A9455D902DBA9708%40qq.com
Please rebase and repost.
Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2026-09-16 12:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 13:28 [PATCH] " Jiawen Liu
2026-09-04 9:46 ` Herbert Xu
2026-09-04 10:26 ` [PATCH v2] " Jiawen Liu
2026-09-16 12:32 ` Herbert Xu [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=aqqMRKATsLFj4jFG@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=1298662399@qq.com \
--cc=dsaxena@plexity.net \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olivia@selenic.com \
--cc=stable@vger.kernel.org \
--cc=thomas.petazzoni@free-electrons.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®