Skip to content

TTY updates for 2.6.29-rc

Alan Cox linux-serial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest75 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/75Blackfin Serial Driver: updates kgdb over Blackfin serial driver with kgdb frameworkdrivers/serial/bfin_5xx.c+89 -980 replies
2/75Blackfin Serial Driver: fix bug - SIR driver stop receiving randomlydrivers/serial/bfin_5xx.c+24 -00 replies
3/75Blackfin Serial Driver: Clean serial console and early prink code.drivers/serial/bfin_5xx.c+4 -120 replies
4/75Blackfin Serial Driver: Fix bug - BF527-EZKIT unable to receive large files over UART in DMA modedrivers/serial/bfin_5xx.c+8 -30 replies
5/75Blackfin Serial Driver: Remove BI status for known_good_chardrivers/serial/bfin_5xx.c+1 -00 replies
6/75n_tty: Fix loss of echoed characters and remove bkl from n_ttydrivers/char/n_tty.c drivers/char/tty_io.c drivers/char/vt.c +1 more+594 -1560 replies
7/75n_tty: clean up coding styledrivers/char/n_tty.c+13 -160 replies
8/75Remove devpts_root globalfs/devpts/inode.c+20 -90 replies
9/75Per-mount allocated_ptysfs/devpts/inode.c+48 -71 reply
10/75Per-mount 'config' objectfs/devpts/inode.c+27 -180 replies
11/75Extract option parsing to new functionfs/devpts/inode.c+9 -30 replies
12/75Add DEVPTS_MULTIPLE_INSTANCES config tokendrivers/char/Kconfig+11 -00 replies
13/75Define mknod_ptmx()fs/devpts/inode.c+110 -50 replies
14/75Define get_init_pts_sb()fs/devpts/inode.c+54 -10 replies
15/75Enable multiple instances of devptsfs/devpts/inode.c+163 -70 replies
16/75Document usage of multiple-instances of devptsDocumentation/filesystems/devpts.txt+132 -00 replies
17/75devpts: Coding style clean upfs/devpts/inode.c+26 -270 replies
18/75sierra: Fix formattingdrivers/usb/serial/sierra.c+1 -10 replies
19/75tty: Fix sparse static warning for tty_driver_lookup_ttydrivers/char/tty_io.c+1 -10 replies
20/75pty: simplify resizedrivers/char/hvc_console.c drivers/char/pty.c drivers/char/tty_io.c +3 more+74 -360 replies
21/75n_tty: Fix handling of control characters and continuationsdrivers/char/n_tty.c+15 -90 replies
22/75n_tty: Fix hanfling of buffer full corner casesdrivers/char/n_tty.c+38 -170 replies
23/75n_tty: Output bells immediately on a full bufferdrivers/char/n_tty.c+9 -170 replies
24/75tty: Fix close races in USB serialdrivers/usb/serial/usb-serial.c+10 -50 replies
25/75devpts: fix unused function warningfs/devpts/inode.c+1 -10 replies
26/75Convert the oxsemi tornado special cases to use the quirk interface and notdrivers/serial/8250_pci.c+51 -400 replies
27/75And here's a patch (to be applied on top of the last) which preventsdrivers/serial/8250_pci.c include/linux/8250_pci.h+22 -170 replies
28/75Add device function for USB serial consoledrivers/usb/serial/console.c+13 -00 replies
29/75CRED: Wrap task credential accesses in the devpts filesystemfs/devpts/inode.c+3 -30 replies
30/75tty: Fix PPP hang under loaddrivers/char/tty_ldisc.c include/linux/tty.h+22 -90 replies
31/75tty_port: Add a port level carrier detect operationdrivers/char/esp.c drivers/char/generic_serial.c drivers/char/isicom.c +16 more+427 -2390 replies
32/75rio: Kill off ckmallocdrivers/char/rio/rio_linux.c+4 -130 replies
33/75tty: Pull the dtr raise into tty portdrivers/char/isicom.c drivers/char/mxser.c drivers/char/rocket.c +4 more+79 -250 replies
34/75isicom: redo locking to use tty port locksdrivers/char/isicom.c drivers/char/synclinkmp.c drivers/char/tty_port.c +1 more+54 -260 replies
35/75tty: relock generic_serialdrivers/char/generic_serial.c+24 -130 replies
36/75tty: rocketport uses different port flags to everyone elsedrivers/char/rocket.c drivers/char/rocket.h drivers/char/rocket_int.h+21 -260 replies
37/75tty: relock riscom8 using port locksdrivers/char/riscom8.c+20 -100 replies
38/75tty: relock the mxser driverdrivers/char/mxser.c+13 -150 replies
39/75tty: Introduce a tty_port generic block_til_readydrivers/char/isicom.c drivers/char/mxser.c drivers/char/riscom8.c +4 more+115 -2350 replies
40/75tty: Rework istallion to use the tty port changesdrivers/char/istallion.c include/linux/istallion.h+43 -1170 replies
41/75tty: rework stallion to use the tty_port bitsdrivers/char/stallion.c+38 -1040 replies
42/75tty: ESP has been broken for locking etc forverdrivers/char/Kconfig+1 -10 replies
43/75tty: tty port zero baud opendrivers/char/tty_port.c+2 -10 replies
44/75tty: Introduce some close helpers for portsdrivers/char/isicom.c drivers/char/istallion.c drivers/char/mxser.c +8 more+126 -3910 replies
45/75serial: set correct baud_base for Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapterdrivers/serial/8250_pci.c include/linux/pci_ids.h+4 -00 replies
46/75tty: USB tty devices can block in tcdrain when unpluggeddrivers/usb/serial/usb-serial.c+4 -00 replies
47/75tty: N_TTY SIGIO only works for readdrivers/char/n_tty.c+3 -30 replies
48/75tty: PTYs set TTY_DO_WRITE_WAKEUP when they don't need todrivers/char/pty.c+0 -30 replies
49/75tty: Remove some pointless castsdrivers/char/amiserial.c drivers/char/epca.c drivers/char/generic_serial.c +13 more+150 -1500 replies
50/75tty: kref nozomidrivers/char/nozomi.c+45 -400 replies
51/75hso: net driver using tty without lockingdrivers/net/usb/hso.c+42 -120 replies
52/75tty: Fix the HSO termios handling a bitdrivers/net/usb/hso.c+31 -240 replies
53/75tty: Modem functions for the HSO driverdrivers/net/usb/hso.c+318 -130 replies
54/75tty: relock epcadrivers/char/epca.c+104 -910 replies
55/75tty: refcount the epca driverdrivers/char/epca.c+15 -120 replies
56/75tty: Make epca use the port helpersdrivers/char/epca.c drivers/char/tty_port.c+26 -1490 replies
57/75tty: Redo the rocket driver lockingdrivers/char/epca.c drivers/char/rocket.c+20 -240 replies
58/75tty: make rocketport use standard port->flagsdrivers/char/rocket.c+19 -190 replies
59/75tty: kref the rocket driverdrivers/char/rocket.c+41 -370 replies
60/75tty: use port methods for the rocket driverdrivers/char/rocket.c drivers/char/tty_port.c+21 -1590 replies
61/75synclink_cs: Convert to tty_portdrivers/char/pcmcia/synclink_cs.c+181 -2980 replies
62/75tty: Drop the lock_kernel in the private ioctl hookdrivers/usb/serial/ftdi_sio.c drivers/usb/serial/kl5kusb105.c drivers/usb/serial/mct_u232.c +2 more+14 -80 replies
63/75serial: RS485 ioctl structure uses __u32 include linux/types.hinclude/linux/serial.h+2 -10 replies
64/75__FUNCTION__ is gcc-specific, use __func__drivers/serial/bfin_sport_uart.c+30 -300 replies
65/75tty: We want the port object to be persistentdrivers/serial/jsm/jsm_tty.c drivers/serial/serial_core.c include/linux/serial_core.h+96 -1120 replies
66/75fix for tty-serial-move-portdrivers/serial/serial_core.c+1 -30 replies
67/758250: Don't clobber spinlocks.drivers/serial/8250.c+13 -20 replies
68/758250: Serial driver changes to support future Cavium OCTEON serial patches.drivers/serial/8250.c include/linux/serial_8250.h include/linux/serial_core.h+140 -580 replies
69/75Serial: Allow port type to be specified when calling serial8250_register_port.drivers/serial/8250.c drivers/serial/serial_core.c include/linux/serial_8250.h +1 more+17 -20 replies
70/75Serial: UART driver changes for Cavium OCTEON.drivers/serial/8250.c include/linux/serial_core.h+9 -10 replies
71/75drivers/char/cyclades.c: cy_pci_probe: fix error pathdrivers/char/cyclades.c+1 -10 replies
72/75tty: Fix an ircomm warning and note another bugnet/irda/ircomm/ircomm_tty.c+3 -22 replies
73/75hso modem detect fix patch against Alan Cox'es tty treedrivers/net/usb/hso.c+1 -10 replies
74/75hso maintainers update patchMAINTAINERS drivers/net/usb/hso.c+8 -00 replies
75/75serial_8250: support for Sealevel Systems Model 7803 COMM+8drivers/serial/8250_pci.c include/linux/pci_ids.h+4 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/75] TTY updates for 2.6.29-rc

There are several chunks to this. The main thrust is extracting common code into the tty layer and tidying up. Further lock_kernel removal is done (notably Joe Peterson has removed in from most of n_tty now). Ptys get namespaces for container usage.

---

Alan Cox (37):
tty: Fix an ircomm warning and note another bug
tty: We want the port object to be persistent
tty: Drop the lock_kernel in the private ioctl hook
synclink_cs: Convert to tty_port
tty: use port methods for the rocket driver
tty: kref the rocket driver
tty: make rocketport use standard port->flags
tty: Redo the rocket driver locking
tty: Make epca use the port helpers
tty: refcount the epca driver
tty: relock epca
tty: Fix the HSO termios handling a bit
hso: net driver using tty without locking
tty: kref nozomi
tty: Remove some pointless casts
tty: PTYs set TTY_DO_WRITE_WAKEUP when they don't need to
tty: USB tty devices can block in tcdrain when unplugged
tty: Introduce some close helpers for ports
tty: tty port zero baud open
tty: ESP has been broken for locking etc forver
tty: rework stallion to use the tty_port bits
tty: Rework istallion to use the tty port changes
tty: Introduce a tty_port generic block_til_ready
tty: relock the mxser driver
tty: relock riscom8 using port locks
tty: rocketport uses different port flags to everyone else
tty: relock generic_serial
isicom: redo locking to use tty port locks
tty: Pull the dtr raise into tty port
rio: Kill off ckmalloc
tty_port: Add a port level carrier detect operation
tty: Fix PPP hang under load
tty: Fix close races in USB serial
pty: simplify resize
sierra: Fix formatting
devpts: Coding style clean up
n_tty: clean up coding style

Alexander Beregalov (1):
fix for tty-serial-move-port

Andrew Morton (2):
drivers/char/cyclades.c: cy_pci_probe: fix error path
devpts: fix unused function warning

Andy Whitcroft (1):
serial: RS485 ioctl structure uses __u32 include linux/types.h

David Daney (4):
Serial: UART driver changes for Cavium OCTEON.
Serial: Allow port type to be specified when calling serial8250_register_port. 8250: Serial driver changes to support future Cavium OCTEON serial patches. 8250: Don't clobber spinlocks.

David Howells (1):
CRED: Wrap task credential accesses in the devpts filesystem

Denis Joseph Barrow (3):
hso maintainers update patch
hso modem detect fix patch against Alan Cox'es tty tree
tty: Modem functions for the HSO driver

Flavio Leitner (1):
serial_8250: support for Sealevel Systems Model 7803 COMM+8

Graf Yang (1):
Blackfin Serial Driver: fix bug - SIR driver stop receiving randomly

Harvey Harrison (1):
__FUNCTION__ is gcc-specific, use __func__

Jason Wessel (1):
tty: Fix sparse static warning for tty_driver_lookup_tty

Joe Peterson (4):
n_tty: Output bells immediately on a full buffer
n_tty: Fix hanfling of buffer full corner cases
n_tty: Fix handling of control characters and continuations
n_tty: Fix loss of echoed characters and remove bkl from n_tty

Kevin Hao (1):
Add device function for USB serial console

Niels de Vos (1):
serial: set correct baud_base for Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter

Russell King (2):
And here's a patch (to be applied on top of the last) which prevents Convert the oxsemi tornado special cases to use the quirk interface and not

Sonic Zhang (4):
Blackfin Serial Driver: Remove BI status for known_good_char
Blackfin Serial Driver: Fix bug - BF527-EZKIT unable to receive large files over UART in DMA mode Blackfin Serial Driver: Clean serial console and early prink code.
Blackfin Serial Driver: updates kgdb over Blackfin serial driver with kgdb framework

Sukadev Bhattiprolu (9):
Document usage of multiple-instances of devpts Enable multiple instances of devpts Define get_init_pts_sb()
Define mknod_ptmx()
Add DEVPTS_MULTIPLE_INSTANCES config token Extract option parsing to new function Per-mount 'config' object
Per-mount allocated_ptys
Remove devpts_root global

Thomas Pfaff (1):
tty: N_TTY SIGIO only works for read

 Documentation/filesystems/devpts.txt |  132 ++++++
 MAINTAINERS                          |    6 
 drivers/char/Kconfig                 |   13 +
 drivers/char/amiserial.c             |   34 +
 drivers/char/cyclades.c              |    2 
 drivers/char/epca.c                  |  265 +++--------
 drivers/char/esp.c                   |   61 ++-
 drivers/char/generic_serial.c        |   76 ++-
 drivers/char/hvc_console.c           |    2 
 drivers/char/hvsi.c                  |   12 -
 drivers/char/isicom.c                |  166 +------
 drivers/char/istallion.c             |  221 +++------
 drivers/char/moxa.c                  |   26 +
 drivers/char/mxser.c                 |  150 +-----
 drivers/char/n_r3964.c               |   12 -
 drivers/char/n_tty.c                 |  792 +++++++++++++++++++++++++++-------
 drivers/char/nozomi.c                |   85 ++--
 drivers/char/pcmcia/synclink_cs.c    |  479 ++++++++-------------
 drivers/char/pty.c                   |   57 ++
 drivers/char/rio/rio_linux.c         |   35 +-
 drivers/char/riscom8.c               |  194 ++------
 drivers/char/rocket.c                |  320 ++++----------
 drivers/char/rocket.h                |    2 
 drivers/char/rocket_int.h            |    5 
 drivers/char/selection.c             |    2 
 drivers/char/ser_a2232.c             |   23 +
 drivers/char/serial167.c             |   32 +
 drivers/char/specialix.c             |   34 +
 drivers/char/stallion.c              |  169 ++-----
 drivers/char/sx.c                    |   31 +
 drivers/char/synclink.c              |  177 +++-----
 drivers/char/synclink_gt.c           |  120 ++---
 drivers/char/synclinkmp.c            |  171 +++----
 drivers/char/tty_io.c                |   39 +-
 drivers/char/tty_ldisc.c             |   30 +
 drivers/char/tty_port.c              |  225 ++++++++++
 drivers/char/vme_scc.c               |   27 +
 drivers/char/vt.c                    |   16 -
 drivers/char/vt_ioctl.c              |    2 
 drivers/net/usb/hso.c                |  434 +++++++++++++++++--
 drivers/serial/8250.c                |  225 +++++++---
 drivers/serial/8250_pci.c            |  134 +++---
 drivers/serial/bfin_5xx.c            |  239 +++++-----
 drivers/serial/bfin_sport_uart.c     |   60 +--
 drivers/serial/jsm/jsm_tty.c         |    2 
 drivers/serial/serial_core.c         |  155 +++----
 drivers/usb/serial/console.c         |   13 +
 drivers/usb/serial/ftdi_sio.c        |    9 
 drivers/usb/serial/kl5kusb105.c      |    1 
 drivers/usb/serial/mct_u232.c        |    2 
 drivers/usb/serial/mos7840.c         |    3 
 drivers/usb/serial/sierra.c          |    2 
 drivers/usb/serial/usb-serial.c      |   26 +
 fs/devpts/inode.c                    |  472 ++++++++++++++++++--
 include/linux/8250_pci.h             |    2 
 include/linux/generic_serial.h       |    1 
 include/linux/istallion.h            |    2 
 include/linux/pci_ids.h              |    2 
 include/linux/serial.h               |    3 
 include/linux/serial_8250.h          |    3 
 include/linux/serial_core.h          |   69 ++-
 include/linux/tty.h                  |   27 +
 include/linux/tty_driver.h           |    6 
 net/irda/ircomm/ircomm_tty.c         |    5 
 64 files changed, 3538 insertions(+), 2604 deletions(-)
 create mode 100644 Documentation/filesystems/devpts.txt

--