Skip to content

tty: take 3 - termios, locking and 8250 bugs

Alan Cox linux-serial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 of 12 patches 4 repliesIn review

11 of 12 patches are in this archive. The cover letter announces 12.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12tty: revert incorrectly applied lock patchdrivers/tty/amiserial.c drivers/tty/cyclades.c drivers/tty/n_r3964.c +11 more+119 -1900 replies
3/12f81232: correct stubbed termios handlerdrivers/usb/serial/f81232.c+1 -00 replies
4/12usb: fix sillies in the metro USB driverdrivers/usb/serial/metro-usb.c+1 -71 reply
5/12usb, kobil: Sort out some bogus tty handlingdrivers/usb/serial/kobil_sct.c+3 -30 replies
6/128250: use the 8250 register interface not the legacy onearch/mips/cavium-octeon/serial.c drivers/char/mwave/mwavedd.c drivers/misc/ibmasm/uart.c +12 more+236 -2533 replies
7/128250: propogate the bugs fielddrivers/tty/serial/8250/8250.c+1 -00 replies
8/128250: add support for ASIX devices with a FIFO bugdrivers/tty/serial/8250/8250.c drivers/tty/serial/8250/8250.h drivers/tty/serial/8250/8250_pci.c+28 -50 replies
9/12tty: tidy up the RESET_TERMIOS casedrivers/tty/tty_io.c+23 -220 replies
10/12vt: fix the keyboard/led lockingdrivers/tty/vt/keyboard.c include/linux/kbd_kern.h+23 -190 replies
11/12tty: Move the handling of the tty release logicdrivers/tty/pty.c drivers/tty/tty_io.c drivers/tty/vt/vt.c +3 more+11 -330 replies
12/12tty: localise the lockdrivers/tty/amiserial.c drivers/tty/cyclades.c drivers/tty/n_r3964.c +11 more+190 -1190 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/12] tty: take 3 - termios, locking and 8250 bugs

This patch series is the tty backlog third attempt, so hopefully it's now all behaving. This is versus the -next tree of Friday and has been doing 24hrs of testing.

It starts with a revert of the tty lock localise that was applied already before its dependancies. Without the dependancies it causes random obscure memory scribbles so we really want it out before we do the other bits so that we can bisect this !

The final patch then puts it back again.

Sorry for the mess up on the previous attempt. I love major structure and API changes 8)

Alan

---

Alan Cox (12):
tty: localise the lock
tty: Move the handling of the tty release logic
vt: fix the keyboard/led locking
tty: tidy up the RESET_TERMIOS case
8250: add support for ASIX devices with a FIFO bug 8250: propogate the bugs field
8250: use the 8250 register interface not the legacy one usb, kobil: Sort out some bogus tty handling
usb: fix sillies in the metro USB driver
f81232: correct stubbed termios handler
tty: move the termios object into the tty
tty: revert incorrectly applied lock patch

 arch/ia64/hp/sim/simserial.c          |    2 -
 arch/mips/cavium-octeon/serial.c      |   30 ++++----
 drivers/bluetooth/hci_ath.c           |    2 -
 drivers/char/mwave/mwavedd.c          |   16 ++--
 drivers/isdn/gigaset/interface.c      |    4 +
 drivers/isdn/i4l/isdn_tty.c           |   16 ++--
 drivers/misc/ibmasm/uart.c            |   16 ++--
 drivers/mmc/card/sdio_uart.c          |   20 +++--
 drivers/net/ethernet/sgi/ioc3-eth.c   |   22 +++---
 drivers/net/irda/irtty-sir.c          |   10 +--
 drivers/net/usb/hso.c                 |   12 +--
 drivers/tty/amiserial.c               |   20 +++--
 drivers/tty/cyclades.c                |   19 ++---
 drivers/tty/hvc/hvsi_lib.c            |    2 -
 drivers/tty/isicom.c                  |    8 +-
 drivers/tty/moxa.c                    |   10 +--
 drivers/tty/mxser.c                   |   20 +++--
 drivers/tty/n_gsm.c                   |    8 +-
 drivers/tty/n_tty.c                   |    2 -
 drivers/tty/pty.c                     |   35 ++-------
 drivers/tty/rocket.c                  |   18 ++---
 drivers/tty/serial/8250/8250.c        |   80 ++++++++-------------
 drivers/tty/serial/8250/8250.h        |   31 --------
 drivers/tty/serial/8250/8250_acorn.c  |   22 +++---
 drivers/tty/serial/8250/8250_dw.c     |   38 +++++-----
 drivers/tty/serial/8250/8250_gsc.c    |   26 +++----
 drivers/tty/serial/8250/8250_hp300.c  |   26 +++----
 drivers/tty/serial/8250/8250_pci.c    |  116 ++++++++++++++++++-------------
 drivers/tty/serial/8250/8250_pnp.c    |   28 ++++---
 drivers/tty/serial/8250/serial_cs.c   |   30 ++++----
 drivers/tty/serial/bfin_uart.c        |    2 -
 drivers/tty/serial/crisv10.c          |   26 +++----
 drivers/tty/serial/ioc4_serial.c      |    2 -
 drivers/tty/serial/jsm/jsm_tty.c      |    8 +-
 drivers/tty/serial/of_serial.c        |    9 ++
 drivers/tty/serial/samsung.c          |    2 -
 drivers/tty/serial/serial_core.c      |   28 ++++---
 drivers/tty/synclink.c                |   36 +++++-----
 drivers/tty/synclink_gt.c             |   24 +++---
 drivers/tty/synclinkmp.c              |   24 +++---
 drivers/tty/tty_io.c                  |   77 ++++++++------------
 drivers/tty/tty_ioctl.c               |  124 +++++++++++++++++----------------
 drivers/tty/tty_ldisc.c               |   10 +--
 drivers/tty/tty_port.c                |    6 +-
 drivers/tty/vt/keyboard.c             |   41 ++++++-----
 drivers/tty/vt/vt.c                   |    5 +
 drivers/usb/class/cdc-acm.c           |    2 -
 drivers/usb/serial/ark3116.c          |    4 +
 drivers/usb/serial/belkin_sa.c        |    2 -
 drivers/usb/serial/cp210x.c           |    8 +-
 drivers/usb/serial/cypress_m8.c       |   40 +++++------
 drivers/usb/serial/digi_acceleport.c  |   14 ++--
 drivers/usb/serial/empeg.c            |    2 -
 drivers/usb/serial/f81232.c           |    3 +
 drivers/usb/serial/ftdi_sio.c         |    2 -
 drivers/usb/serial/io_edgeport.c      |   12 ++-
 drivers/usb/serial/io_ti.c            |   12 ++-
 drivers/usb/serial/ir-usb.c           |    2 -
 drivers/usb/serial/iuu_phoenix.c      |   28 ++++---
 drivers/usb/serial/keyspan.c          |    6 +-
 drivers/usb/serial/keyspan_pda.c      |    4 +
 drivers/usb/serial/kl5kusb105.c       |   18 ++---
 drivers/usb/serial/kobil_sct.c        |   14 ++--
 drivers/usb/serial/mct_u232.c         |    4 +
 drivers/usb/serial/metro-usb.c        |    8 --
 drivers/usb/serial/mos7720.c          |   14 ++--
 drivers/usb/serial/mos7840.c          |   12 ++-
 drivers/usb/serial/oti6858.c          |   10 +--
 drivers/usb/serial/pl2303.c           |    6 +-
 drivers/usb/serial/quatech2.c         |    4 +
 drivers/usb/serial/sierra.c           |    2 -
 drivers/usb/serial/spcp8x5.c          |   12 ++-
 drivers/usb/serial/ssu100.c           |    4 +
 drivers/usb/serial/ti_usb_3410_5052.c |   10 +--
 drivers/usb/serial/usb-serial.c       |    5 +
 drivers/usb/serial/usb_wwan.c         |    2 -
 drivers/usb/serial/whiteheat.c        |    2 -
 include/linux/kbd_kern.h              |    1 
 include/linux/serial_8250.h           |   33 ++++++++-
 include/linux/tty.h                   |   47 ++++++-------
 include/linux/tty_driver.h            |   11 +--
 net/bluetooth/rfcomm/tty.c            |    2 -
 net/irda/ircomm/ircomm_tty.c          |   12 ++-
 net/irda/ircomm/ircomm_tty_ioctl.c    |   10 +--
 84 files changed, 728 insertions(+), 769 deletions(-)
Signature · 1 line
Signature