Skip to content

serial: uartps: Revert dynamic port 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 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Revert "serial: uartps: Fix uartps_major handling"drivers/tty/serial/xilinx_uartps.c+1 -70 replies
2/7Revert "serial: uartps: Use the same dynamic major number for all ports"drivers/tty/serial/xilinx_uartps.c+2 -30 replies
3/7Revert "serial: uartps: Fix error path when alloc failed"drivers/tty/serial/xilinx_uartps.c+2 -40 replies
4/7Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"drivers/tty/serial/xilinx_uartps.c+2 -40 replies
5/7Revert "serial: uartps: Change uart ID port allocation"drivers/tty/serial/xilinx_uartps.c+13 -980 replies
6/7Revert "serial: uartps: Move Port ID to device data structure"drivers/tty/serial/xilinx_uartps.c+9 -110 replies
7/7Revert "serial: uartps: Register own uart console and driver structures"drivers/tty/serial/xilinx_uartps.c+40 -550 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] serial: uartps: Revert dynamic port allocation

Hi,

there were several changes done in past in uartps drivers which have been also done in uartlite driver.
Here is the thread about it
https://lore.kernel.org/linux-serial/20191203152738.GF10631@localhost/

This series reverts all patches which enabled dynamic port allocation and returning driver to the previous state. There were added some features in meantime which are not affected by this series.

Thanks,
Michal

Michal Simek (7):
Revert "serial: uartps: Fix uartps_major handling" Revert "serial: uartps: Use the same dynamic major number for all
ports"
Revert "serial: uartps: Fix error path when alloc failed" Revert "serial: uartps: Do not allow use aliases >=
MAX_UART_INSTANCES"
Revert "serial: uartps: Change uart ID port allocation" Revert "serial: uartps: Move Port ID to device data structure" Revert "serial: uartps: Register own uart console and driver
structures"

 drivers/tty/serial/xilinx_uartps.c | 211 +++++++----------------------
 1 file changed, 49 insertions(+), 162 deletions(-)
Signature · 1 line
2.26.0