tty: BKL removal
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest31 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/31 | stallion: prune lock_kernel callsdrivers/ drivers/ | +25 | 0 replies | |
| 2/31 | istallion: use bit ops for the board flagsdrivers/ include/ | +19 | 0 replies | |
| 3/31 | riscom8: kill use of lock_kerneldrivers/ | +8 | 0 replies | |
| 4/31 | isicom: kill off the BKLdrivers/ | +5 | 0 replies | |
| 5/31 | rocket: kill BKLdrivers/ | +19 | 0 replies | |
| 6/31 | synclink: kill the big kernel lockdrivers/ drivers/ drivers/ | +56 | 0 replies | |
| 7/31 | cyclades: Kill off BKL usagedrivers/ | +9 | 0 replies | |
| 8/31 | epca: Kill the big kernel lockdrivers/ | +1 | 0 replies | |
| 9/31 | specialix; Kill the BKLdrivers/ | +5 | 0 replies | |
| 10/31 | synclink: reworking locking a bitdrivers/ drivers/ | +19 | 0 replies | |
| 11/31 | tty: serial - fix various misuses/mishandlings of port->ttydrivers/ | +60 | 0 replies | |
| 12/31 | tty: serial - fix tty back references in termiosdrivers/ drivers/ drivers/ +2 more | +19 | 2 replies | |
| 13/31 | tty: serial - fix tty referencing in set_ldiscdrivers/ drivers/ include/ | +4 | 0 replies | |
| 14/31 | vc: Locking clean updrivers/ drivers/ | +8 | 0 replies | |
| 15/31 | tty: Make vt's have a tty_portdrivers/ include/ | +4 | 0 replies | |
| 16/31 | tty: Move the vt_tty field from the vc_data into the standard tty_portdrivers/ drivers/ drivers/ +1 more | +11 | 0 replies | |
| 17/31 | serial: Change the wait for carrier lockingdrivers/ | +35 | 0 replies | |
| 18/31 | serial: add port helpersdrivers/ | +37 | 0 replies | |
| 19/31 | serial: trim locking on the helpersdrivers/ | +1 | 0 replies | |
| 20/31 | serial: Use block_til_ready helperdrivers/ | +1 | 0 replies | |
| 21/31 | tty: replace BKL with a new tty_lockdrivers/ drivers/ drivers/ +14 more | +161 | 0 replies | |
| 22/31 | tty: never hold BTM while getting tty_mutexdrivers/ drivers/ | +17 | 0 replies | |
| 23/31 | tty: fix console_sem lock orderdrivers/ | +0 | 0 replies | |
| 24/31 | cdc-acm: remove dead codedrivers/ | +3 | 0 replies | |
| 25/31 | tty: introduce wait_event_interruptible_ttydrivers/ drivers/ drivers/ +4 more | +56 | 0 replies | |
| 26/31 | tty: reorder ldisc lockingdrivers/ drivers/ | +27 | 0 replies | |
| 27/31 | tty: untangle locking of wait_until_sentdrivers/ drivers/ drivers/ +1 more | +31 | 0 replies | |
| 28/31 | tty: remove tty_lock_nesteddrivers/ drivers/ drivers/ +2 more | +25 | 0 replies | |
| 29/31 | tty: implement BTM as mutex instead of BKLdrivers/ drivers/ include/ +1 more | +66 | 0 replies | |
| 30/31 | tty: release BTM while sleeping in block_til_readydrivers/ drivers/ drivers/ +8 more | +25 | 0 replies | |
| 31/31 | 8250: fix set_ldisc operationdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/31] tty: BKL removal
Hi Greg,
As promised, here is a resend of the patches from
both Alan and myself, making the BKL optional
in the TTY layer. Please apply to your tty-next
tree.
Arnd
--
Alan Cox (20):
stallion: prune lock_kernel calls
istallion: use bit ops for the board flags
riscom8: kill use of lock_kernel
isicom: kill off the BKL
rocket: kill BKL
synclink: kill the big kernel lock
cyclades: Kill off BKL usage
epca: Kill the big kernel lock
specialix; Kill the BKL
synclink: reworking locking a bit
tty: serial - fix various misuses/mishandlings of port->tty
tty: serial - fix tty back references in termios
tty: serial - fix tty referencing in set_ldisc
vc: Locking clean up
tty: Make vt's have a tty_port
tty: Move the vt_tty field from the vc_data into the standard
tty_port
serial: Change the wait for carrier locking
serial: add port helpers
serial: trim locking on the helpers
serial: Use block_til_ready helper
Arnd Bergmann (11):
tty: replace BKL with a new tty_lock
tty: never hold BTM while getting tty_mutex
tty: fix console_sem lock order
cdc-acm: remove dead code
tty: introduce wait_event_interruptible_tty
tty: reorder ldisc locking
tty: untangle locking of wait_until_sent
tty: remove tty_lock_nested
tty: implement BTM as mutex instead of BKL
tty: release BTM while sleeping in block_til_ready 8250: fix set_ldisc operation
drivers/char/Makefile | 1 + drivers/char/amiserial.c | 25 +++- drivers/char/briq_panel.c | 6 +- drivers/char/cyclades.c | 22 ++-- drivers/char/epca.c | 4 +- drivers/char/ip2/ip2main.c | 4 + drivers/char/isicom.c | 13 +- drivers/char/istallion.c | 68 ++++++----- drivers/char/keyboard.c | 10 +- drivers/char/n_hdlc.c | 16 +- drivers/char/n_r3964.c | 10 +- drivers/char/pty.c | 26 ++-- drivers/char/riscom8.c | 14 +- drivers/char/rocket.c | 28 +++-- drivers/char/selection.c | 13 ++- drivers/char/serial167.c | 8 +- drivers/char/specialix.c | 13 +- drivers/char/stallion.c | 20 ++- drivers/char/sx.c | 12 +- drivers/char/synclink.c | 21 ++-- drivers/char/synclink_gt.c | 92 +++++++------- drivers/char/synclinkmp.c | 43 +++--- drivers/char/tty_io.c | 134 +++++++++++--------- drivers/char/tty_ldisc.c | 43 +++++-- drivers/char/tty_mutex.c | 47 +++++++ drivers/char/tty_port.c | 4 +- drivers/char/vc_screen.c | 4 +- drivers/char/vt.c | 19 ++- drivers/char/vt_ioctl.c | 14 +- drivers/serial/21285.c | 10 +- drivers/serial/68328serial.c | 2 + drivers/serial/68360serial.c | 4 +- drivers/serial/8250.c | 9 +- drivers/serial/bfin_5xx.c | 7 +- drivers/serial/crisv10.c | 8 +- drivers/serial/imx.c | 10 +- drivers/serial/ioc3_serial.c | 9 +- drivers/serial/ioc4_serial.c | 9 +- drivers/serial/max3100.c | 7 +- drivers/serial/serial_core.c | 281 +++++++++++++++++++--------------------- drivers/usb/class/cdc-acm.c | 12 +-- drivers/video/console/vgacon.c | 2 - include/linux/console_struct.h | 3 +- include/linux/istallion.h | 2 +- include/linux/serial_core.h | 2 +- include/linux/tty.h | 67 ++++++++++ lib/Kconfig.debug | 10 ++ 47 files changed, 679 insertions(+), 509 deletions(-) create mode 100644 drivers/char/tty_mutex.c