From: sashiko-bot@kernel.org
To: "Jiawen Liu" <liu1298662399@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH] serial: 8250_omap: Abort probe on runtime resume failure
Date: Sun, 29 Nov 2026 19:39:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-239971@kernel.org> (raw)
In-Reply-To: <179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com>
> On AM335x, a TI sysc module clock timeout can leave the UART's
> parent suspended and cause pm_runtime_get_sync() to fail during
> probe. The driver ignores the error and reads UART_OMAP_MVER while
> the UART is still suspended, which can lead to incorrect
> revision-dependent setup.
>
> Return negative resume errors through the existing unwind, which
> balances the usage reference acquired by pm_runtime_get_sync().
> Disable runtime PM before flushing QoS work so PM callbacks cannot
> queue more work after the flush. Undo wakeup setup on probe failure.
>
> Source review, x86-64 driver
> object builds with CONFIG_PM enabled and disabled, checkpatch, and
> git diff --check passed. No runtime or hardware reproduction was
> performed.
>
> Fixes: 61929cf0169d ("tty: serial: Add 8250-core based omap driver")
> Signed-off-by: Jiawen Liu <liu1298662399@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com?part=1
next prev parent reply other threads:[~2026-11-29 19:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 19:25 [PATCH] serial: 8250_omap: Abort probe on runtime resume failure Jiawen Liu
2026-11-29 19:39 ` 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-239971@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.