Skip to contentSkip to conversation

tty/serial: cleanup after ioc*_serial driver removal

PATCH Superseded Lukas Bulwahn 4 participants 7 messages Feb 17, 2020 – Feb 18, 2020

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty/serial: cleanup after ioc*_serial driver removal

Commit 9c860e4cf708 ("tty/serial: remove the ioc3_serial driver") and commit a017ef17cfd8 ("tty/serial: remove the ioc4_serial driver") removed the ioc{3,4}_serial driver, but missed some files.

Fortunately, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: drivers/tty/serial/ioc?_serial.c

The driver is gone, so remove the other obsolete files and maintainer entry as well.

---
Christoph, please ack. Tony, please pick this patch. applies cleanly on 5.6-rc2 and next-20200217
only sanity-grep for filenames and make htmldocs, no compile testing

 Documentation/ia64/index.rst  |   1 -
 Documentation/ia64/serial.rst | 165 ----------------------------------
 MAINTAINERS                   |   8 --
 include/linux/ioc3.h          |  93 -------------------
 4 files changed, 267 deletions(-)
 delete mode 100644 Documentation/ia64/serial.rst
 delete mode 100644 include/linux/ioc3.h
Documentation/ia64/index.rst +0 -1
index 0436e1034115..171e68725eea 100644
@@ -14,5 +14,4 @@ IA-64 Architecture
    fsys
    irq-redir
    mca
-   serial
    xen
Documentation/ia64/serial.rst deleted +0 -160

160 lines not on this page · raw message

MAINTAINERS +0 -8
index a0d86490c2c6..10463c6a9de6 100644
@@ -15043,14 +15043,6 @@ M:	Dimitri Sivanich <[email protected]>
 S:	Maintained
 F:	drivers/misc/sgi-gru/
 
-SGI SN-IA64 (Altix) SERIAL CONSOLE DRIVER
-M:	Pat Gefre <[email protected]>
-L:	[email protected]
-S:	Supported
-F:	Documentation/ia64/serial.rst
-F:	drivers/tty/serial/ioc?_serial.c
-F:	include/linux/ioc?.h
-
 SGI XP/XPC/XPNET DRIVER
 M:	Cliff Whickman <[email protected]>
 M:	Robin Holt <[email protected]>
include/linux/ioc3.h deleted +0 -93

93 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw
Quoted 18 lines · Lukas Bulwahn

Commit 9c860e4cf708 ("tty/serial: remove the ioc3_serial driver") and commit a017ef17cfd8 ("tty/serial: remove the ioc4_serial driver") removed the ioc{3,4}_serial driver, but missed some files.

Fortunately, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: drivers/tty/serial/ioc?_serial.c

The driver is gone, so remove the other obsolete files and maintainer entry as well.

---
Christoph, please ack. Tony, please pick this patch. applies cleanly on 5.6-rc2 and next-20200217
only sanity-grep for filenames and make htmldocs, no compile testing

Quoted 6 lines
 Documentation/ia64/index.rst  |   1 -
 Documentation/ia64/serial.rst | 165 ----------------------------------
 MAINTAINERS                   |   8 --
 include/linux/ioc3.h          |  93 -------------------
 4 files changed, 267 deletions(-)
 delete mode 100644 Documentation/ia64/serial.rst

Can you please at leat leave in tree serial.rst since it has generic nature and not describing only ioc3_serial driver? Does ioc3_serial the only serial driver available under ia64 ? Or can we please not to loose some docs? Or do we have a more common serial driver description somewhere which has info on ia64 serial driver/ports ?

Thanks.

#2 lore raw
Quoted 26 lines · Anatoly Pugachev
Quoted 18 lines · Lukas Bulwahn

Commit 9c860e4cf708 ("tty/serial: remove the ioc3_serial driver") and commit a017ef17cfd8 ("tty/serial: remove the ioc4_serial driver") removed the ioc{3,4}_serial driver, but missed some files.

Fortunately, ./scripts/get_maintainer.pl --self-test complains:

warning: no file matches F: drivers/tty/serial/ioc?_serial.c

The driver is gone, so remove the other obsolete files and maintainer entry as well.

---
Christoph, please ack. Tony, please pick this patch. applies cleanly on 5.6-rc2 and next-20200217
only sanity-grep for filenames and make htmldocs, no compile testing

Quoted 6 lines
 Documentation/ia64/index.rst  |   1 -
 Documentation/ia64/serial.rst | 165 ----------------------------------
 MAINTAINERS                   |   8 --
 include/linux/ioc3.h          |  93 -------------------
 4 files changed, 267 deletions(-)
 delete mode 100644 Documentation/ia64/serial.rst
Quoted 6 lines

Can you please at leat leave in tree serial.rst since it has generic nature and not describing only ioc3_serial driver? Does ioc3_serial the only serial driver available under ia64 ? Or can we please not to loose some docs? Or do we have a more common serial driver description somewhere which has info on ia64 serial driver/ports ?

The description is about situations on very outdated kernel versions, so the whole page needs a general update.

I see there is some general troubleshooting hints which might fit into:

https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html

Feel free to include what you think is worthwhile to keep long-term as a patch to Documention/admin-guide/serial-console.rst.

I am happy to support with that, but I am not the serial console expert.

The documentation is not lost, it is just not in the documentation of the latest kernel version, when we do not include the driver anymore. The documentation is still in old versions, which you would need to use anyway for that driver support.

I do not know if there are more ia64 serial drivers, but the MAINTAINERS entry and commit message suggested there is not another serial driver.

Lukas

#3 lore raw
Quoted 2 lines · Lukas Bulwahn

The description is about situations on very outdated kernel versions, so the whole page needs a general update.

While the file doesn't seem all that useful, I think removing or updating it should probably be a separate patch.

#4 lore raw
Quoted 7 lines · Christoph Hellwig
Quoted 2 lines · Lukas Bulwahn

The description is about situations on very outdated kernel versions, so the whole page needs a general update.

While the file doesn't seem all that useful, I think removing or updating it should probably be a separate patch.

Okay, I will send a v2 where I keep the documentation and I will add a maintainers entry for Documentation/ia64/ to IA64 (Itanium) PLATFORM.

Lukas

#5 lore raw
In reply to Lukas Bulwahn
Quoted 2 lines

I do not know if there are more ia64 serial drivers, but the MAINTAINERS entry and commit message suggested there is not another serial driver.

Lukas,

There aren't any other ia64 specific serial drivers. But ia64 does use generic serial drivers (e.g. my test machine has a couple of serial ports attached to 16550A devices)

I think some notes in that documentation file still apply. Please don't delete.

-Tony

#6 lore raw
Quoted 11 lines · Tony
Quoted 2 lines

I do not know if there are more ia64 serial drivers, but the MAINTAINERS entry and commit message suggested there is not another serial driver.

Lukas,

There aren't any other ia64 specific serial drivers. But ia64 does use generic serial drivers (e.g. my test machine has a couple of serial ports attached to 16550A devices)

I think some notes in that documentation file still apply. Please don't delete.

I provided a PATCH v2 that does not delete the documentation, which already was reviewed by Christoph Hellwig.

Please pick and apply that PATCH v2.

Lukas