Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jiawen Liu <liu1298662399@gmail.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>,
	linux-clk@vger.kernel.org,  Stephen Boyd <sboyd@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	 Jerome Brunet <jbrunet+clk@baylibre.com>,
	linux-samsung-soc@vger.kernel.org,
	 Chanwoo Choi <cw00.choi@samsung.com>,
	Brian Masney <bmasney+clk@redhat.com>,
	 Alim Akhtar <alim.akhtar@samsung.com>,
	Peter Griffin <peter.griffin@linaro.org>
Subject: Re: [PATCH] clk: samsung: exynos-arm64: Propagate CMU resume clock errors
Date: Mon, 30 Nov 2026 03:11:48 +0100	[thread overview]
Message-ID: <20261130-little-succinct-herring-73c2dc@quoll> (raw)
In-Reply-To: <179598033933.2.16274950563244133260.pattern-ext-106.14@gmail.com>


On Sun, 29 Nov 2026 19:25:33 +0000, Jiawen Liu wrote:
> When runtime PM resumes a suspended Exynos5433 audio CMU, enabling
> fout_aud_pll can return -ETIMEDOUT if the PLL fails to lock. The
> resume callback ignores the error and can restore registers without
> the required clock. It then reports success to runtime PM, allowing
> a later suspend to release a clock reference that resume never acquired.
> 
> Return the error from clk_prepare_enable() before enabling temporary
> parent clocks or restoring registers. The clock framework rolls back
> preparation if enable fails. On success, the callback keeps its clock
> reference until suspend.
> 
> Verification included static
> review of the clock and PM paths, ARM64 builds of the Exynos clock
> objects with and without CONFIG_PM_SLEEP, and the kernel patch style
> check. Runtime and hardware reproduction were not performed.
> 
> Fixes: 523d3de41f02 ("clk: samsung: exynos5433: Add support for runtime PM")
> Signed-off-by: Jiawen Liu <liu1298662399@gmail.com>
> ---
>  drivers/clk/samsung/clk-exynos-arm64.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 

You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.

More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.

Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.

Best regards,
Krzysztof






      parent reply	other threads:[~2026-11-30  2:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 19:25 [PATCH] clk: samsung: exynos-arm64: Propagate CMU resume clock errors Jiawen Liu
2026-11-30  2:01 ` Krzysztof Kozlowski
2026-11-30  2:11 ` Krzysztof Kozlowski [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=20261130-little-succinct-herring-73c2dc@quoll \
    --to=krzk@kernel.org \
    --cc=alim.akhtar@samsung.com \
    --cc=bmasney+clk@redhat.com \
    --cc=cw00.choi@samsung.com \
    --cc=jbrunet+clk@baylibre.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=liu1298662399@gmail.com \
    --cc=peter.griffin@linaro.org \
    --cc=s.nawrocki@samsung.com \
    --cc=sboyd@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