From: Jiri Slaby <jirislaby@kernel.org>
To: "Arnd Bergmann" <arnd@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Uwe Kleine-König (The Capable Hub)"
<u.kleine-koenig@baylibre.com>,
"Hugo Villeneuve" <hvilleneuve@dimonoff.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev
Subject: Re: [PATCH 1/2] tty: serial: remove hub6 multiport support
Date: Mon, 19 Oct 2026 10:15:50 +0200 [thread overview]
Message-ID: <0ec5fddf-f8de-4c82-a42d-6abca1e06091@kernel.org> (raw)
In-Reply-To: <20261016130328.1037616-1-arnd@kernel.org>
On 16. 10. 26, 14:59, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> hub6 support was added in linux-0.99 and the hardware was already old at
> the time, being discontinued in 1990. The code for it has always been a
> mess since it adds another dimension to the I/O addressing in the driver
> that has leaked into many individual files.
>
> Hugo and Uwe have attempted several times this year alone to isolate
> the hub6 handling into the 8250_hub6.c file, but I feel that none of
> this has been a real improvement over the original standalone loadable
> module support.
>
> Any machine that would have used this ISA card in practice is likely
> 30 to 40 years old, and with i486 support now removed, it is clearly
> safe to just kill this all off. The only bit that has to remain
> is the ioctl interface, to ensure the serial_struct field is always
> zero.
>
> Link: https://mirrors.nycbug.org/pub/The_Unix_Archive/Unix_Usenet/comp.unix.sysv386/1990-December/007174.html
> Fixes: a300273c458c ("serial: 8250: hub6: Add cleanup code")
> Fixes: c526404a4a92 ("serial: 8250: Fix corner case for port matching")
> Fixes: 7ab80d1e7243 ("serial: 8250: fix compile error with hub6_match_port() when compiled as a module")
> Fixes: da7b5fd4e17f ("serial: 8250_hub6: add missing include for hub6_match_port()")
> Fixes: 3d406299d882 ("serial: 8250_hub6: add hub6_match_port()")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/tty/serial/8250/8250.h | 15 -------
> drivers/tty/serial/8250/8250_core.c | 2 -
> drivers/tty/serial/8250/8250_hub6.c | 60 -------------------------
> drivers/tty/serial/8250/8250_platform.c | 11 +----
> drivers/tty/serial/8250/8250_port.c | 23 ----------
> drivers/tty/serial/8250/Kconfig | 15 ++-----
> drivers/tty/serial/8250/Makefile | 1 -
> drivers/tty/serial/atmel_serial.c | 2 -
> drivers/tty/serial/fsl_lpuart.c | 2 -
> drivers/tty/serial/imx.c | 2 -
> drivers/tty/serial/mpc52xx_uart.c | 3 +-
> drivers/tty/serial/sa1100.c | 2 -
> drivers/tty/serial/serial_core.c | 18 +++-----
> drivers/tty/serial/sunsu.c | 9 ----
> drivers/tty/serial/xilinx_uartps.c | 2 -
> include/linux/serial_8250.h | 2 -
> include/linux/serial_core.h | 2 -
> 17 files changed, 12 insertions(+), 159 deletions(-)
> delete mode 100644 drivers/tty/serial/8250/8250_hub6.c
Great, you would have saved me a headache if you had sent these long
time ago ;).
So I will Ack both, once you repost with the reported issues fixed.
thanks,
--
js
suse labs
next prev parent reply other threads:[~2026-10-19 8:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 12:59 Arnd Bergmann
2026-10-16 12:59 ` [PATCH 2/2] [v2] serial: 8250: remove obsolete and broken PORT_RSA support Arnd Bergmann
2026-10-16 13:14 ` Arnd Bergmann
2026-10-16 13:28 ` [PATCH 1/2] tty: serial: remove hub6 multiport support Andy Shevchenko
2026-10-16 14:41 ` Arnd Bergmann
2026-10-16 13:32 ` Andy Shevchenko
2026-10-16 14:10 ` Hugo Villeneuve
2026-10-16 15:56 ` Hugo Villeneuve
2026-10-16 16:16 ` Arnd Bergmann
2026-10-16 17:17 ` Hugo Villeneuve
2026-10-16 16:48 ` Hugo Villeneuve
2026-10-16 17:12 ` Arnd Bergmann
2026-10-16 17:16 ` Hugo Villeneuve
2026-10-19 8:12 ` Andy Shevchenko
2026-10-16 18:28 ` Frank Li
2026-10-19 7:51 ` Uwe Kleine-König
2026-10-19 8:38 ` Andy Shevchenko
2026-10-19 8:51 ` Arnd Bergmann
2026-10-19 8:15 ` Jiri Slaby [this message]
2026-10-19 9:09 ` Arnd Bergmann
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=0ec5fddf-f8de-4c82-a42d-6abca1e06091@kernel.org \
--to=jirislaby@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hvilleneuve@dimonoff.com \
--cc=imx@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=u.kleine-koenig@baylibre.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®