Skip to content

serial: 8250_dw: clock-notifier cleanup

Stepan Ionichev linux-serial lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2serial: 8250_dw: unregister 8250 port if clk_notifier_register() failsdrivers/tty/serial/8250/8250_dw.c+3 -10 replies
2/2serial: 8250_dw: remove clock-notifier infrastructuredrivers/tty/serial/8250/8250_dw.c+0 -810 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] serial: 8250_dw: clock-notifier cleanup

Two-patch series addressing Andy's review of the leak-fix on v1.

Patch 1 keeps the same single-line leak fix as v1, but with:
- the correct "serial: 8250_dw:" prefix (underscore),
- a Fixes: tag pointing at the original clk_notifier introduction,
- Cc: stable@ so the fix gets picked up by stable branches that still carry the notifier code.

Patch 2 drops the clock-notifier infrastructure entirely from mainline, as suggested by Andy. The notifier was introduced for the Baikal-T1 SoC (shared baudclk between UART ports) and has no other in-tree user; Baikal-T1 support has been removed from the kernel.

If a future platform needs the cross-device baudclk-rate notification pattern again, it can be reintroduced in a more general form.

Stepan Ionichev (2):
serial: 8250_dw: unregister 8250 port if clk_notifier_register() fails
serial: 8250_dw: remove clock-notifier infrastructure

 drivers/tty/serial/8250/8250_dw.c | 79 -------------------------------
 1 file changed, 79 deletions(-)
Signature · 1 line
2.43.0