Re: [PATCH] serial: 8250_omap: Abort probe on runtime resume failure
From: Krzysztof Kozlowski
Date: Sun Nov 29 2026 - 21:12:03 EST
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@xxxxxxxxx>
> ---
> 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