All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jiawen Liu <liu1298662399@gmail.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Peter Griffin <peter.griffin@linaro.org>,
	Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney+clk@redhat.com>,
	Jerome Brunet <jbrunet+clk@baylibre.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>,
	linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] clk: samsung: exynos-arm64: Propagate CMU resume clock errors
Date: Mon, 30 Nov 2026 03:01:00 +0100	[thread overview]
Message-ID: <a1f981eb-9ca3-4adc-82bc-96a82548a85d@kernel.org> (raw)
In-Reply-To: <179598033933.2.16274950563244133260.pattern-ext-106.14@gmail.com>

On 29/11/2026 20:25, 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.

Unfortunately "kernel patch style check" is not a step of verification
whether code is correct or not. Do not use LLM to write commit msgs,
they are pretty pointless.

Best regards,
Krzysztof

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

Thread overview: 4+ 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-29 19:42 ` sashiko-bot
2026-11-30  2:01 ` Krzysztof Kozlowski [this message]
2026-11-30  2:11 ` Krzysztof Kozlowski

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=a1f981eb-9ca3-4adc-82bc-96a82548a85d@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.