From: Krzysztof Kozlowski <krzk@kernel.org>
To: Jiawen Liu <liu1298662399@gmail.com>
Cc: Jiri Slaby <jirislaby@kernel.org>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] serial: 8250_omap: Abort probe on runtime resume failure
Date: Mon, 30 Nov 2026 03:11:48 +0100 [thread overview]
Message-ID: <20261130-stoic-golden-squirrel-dc7a9c@quoll> (raw)
In-Reply-To: <179598033550.2.3869535799399729825.pattern-ext-056.4@gmail.com>
On Sun, 29 Nov 2026 19:25:33 +0000, Jiawen Liu wrote:
> 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>
> ---
> drivers/tty/serial/8250/8250_omap.c | 7 +++++--
> 1 file changed, 5 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
prev parent reply other threads:[~2026-11-30 2:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 19:25 Jiawen Liu
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-stoic-golden-squirrel-dc7a9c@quoll \
--to=krzk@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=liu1298662399@gmail.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®