All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jiawen Liu" <liu1298662399@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: samsung: Handle clock enable errors in noirq resume
Date: Sun, 29 Nov 2026 19:42:27 +0000	[thread overview]
Message-ID: <sashiko-outbox-239974@kernel.org> (raw)
In-Reply-To: <179598034086.2.8243056622030752053.pattern-ext-118.18@gmail.com>

> On Exynos5433 TM2 and TM2e, the audio UART gets its controller clock
> from the audio CMU. If the CMU is runtime-suspended and runtime PM is
> still disabled during noirq resume, preparing the clock can fail with
> -EACCES. The S3C6400 resume callback ignores the error, attempts to
> write the interrupt mask without acquiring the controller clock, and
> releases an unacquired clock reference. The clock framework warns
> when the enable or prepare count is zero.
> 
> Return the clock error before writing the interrupt mask. If enabling
> a present baud clock fails, release the controller clock before
> returning the error. The PM core reports the error and continues
> system resume.
> 
> The drafting input was the source
> review of the noirq clock failure. Verification included source
> inspection of the clock paths, an ARM64 Exynos driver object build
> with CONFIG_PM_SLEEP=y, checkpatch, and git diff --check. No runtime
> or hardware reproduction was performed.
> 
> Fixes: a8a1781b8726 ("serial: samsung: enable clock before accessing interrupt mask resister")
> Signed-off-by: Jiawen Liu <liu1298662399@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/179598034086.2.8243056622030752053.pattern-ext-118.18@gmail.com?part=1

  reply	other threads:[~2026-11-29 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 19:25 [PATCH] serial: samsung: Handle clock enable errors in noirq resume Jiawen Liu
2026-11-29 19:42 ` sashiko-bot [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=sashiko-outbox-239974@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=liu1298662399@gmail.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.