Skip to content

RFC serial: uartps: Dynamic allocation

Michal Simek linux-arm-kernel linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4serial: uartps: Remove console_initcall from the driverdrivers/tty/serial/xilinx_uartps.c+0 -142 replies
2/4serial: uartps: Use dynamic array for console portdrivers/tty/serial/xilinx_uartps.c+24 -50 replies
3/4serial: uartps: Move cnds_uart_get_port to probedrivers/tty/serial/xilinx_uartps.c+21 -400 replies
4/4serial: uartps: Remove static port arraydrivers/tty/serial/xilinx_uartps.c+4 -120 replies

Reviews trailers per patch

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

PatchAlan Cox
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [RFC PATCH 0/4] serial: uartps: Dynamic allocation

Hi Alan,

this is the initial version before next step which is move uart_register_driver to probe function.
I was able to get rid of static array with uart_port structures. It was wired with console which is also fixed.
And the next step is the most complicated one handle .nr in uart_driver structure in more generic way.

Thanks,
Michal

Michal Simek (4):
serial: uartps: Remove console_initcall from the driver
serial: uartps: Use dynamic array for console port
serial: uartps: Move cnds_uart_get_port to probe
serial: uartps: Remove static port array

 drivers/tty/serial/xilinx_uartps.c | 102 +++++++++++++++----------------------
 1 file changed, 40 insertions(+), 62 deletions(-)
Signature · 1 line
1.9.1