lkml.org 
[lkml]   [2014]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -next 00/10] serial core fixes
Date
Hi Greg,

The first 3 patches are picked out from the closing series that was
split up; the first 2 patches lay the groundwork for the fixing
the locking for the ->set_termios() method.

The 2 UPF_*/ASYNC* patches are to bind the definitions together
since userspace only gets one set of definitions, but the code
operates as if the definitions are synch'd.

The remainder except the last patch are cleanups; the last patch
fixes port count mismatch in uart_open()/uart_close(), which
Geert and I discussed a while back. So one less thing on my todo
list.

Still on the todo list:
1. Some tty_port flags usage is non-atomic.
2. uart_remove_one_port will happily remove an in-use port since
there's no reference counting.
3. fixing autoRTS for omap (so it clears RTS when tiocmset drops
RTS)

Regards,

Peter Hurley (10):
serial: Refactor uart_flush_buffer() from uart_close()
serial: core: Flush ldisc after dropping port mutex in uart_close()
serial: Fix locking for uart driver set_termios() method
tty,serial: Unify UPF_* and ASYNC_* flag definitions
tty: Document defunct ASYNC_* bits in uapi header
serial: core: Unwrap >80 char line in uart_close()
serial: core: Remove redundant timeout assignments
serial: core: Colocate crucial structure linkage
serial: core: Remove extra locking in uart_write()
serial: core: Fix port count when uart_open() errors

Documentation/serial/driver | 6 +++--
drivers/tty/serial/amba-pl011.c | 1 +
drivers/tty/serial/atmel_serial.c | 28 +++++++++++----------
drivers/tty/serial/serial-tegra.c | 30 +++++++++++-----------
drivers/tty/serial/serial_core.c | 52 ++++++++++++++++++++++-----------------
drivers/tty/serial/timbuart.c | 2 ++
include/linux/serial_core.h | 47 ++++++++++++++++++++++++-----------
include/uapi/linux/tty_flags.h | 15 +++++++----
8 files changed, 110 insertions(+), 71 deletions(-)

--
2.1.1



\
 
 \ /
  Last update: 2014-10-16 23:41    [W:0.200 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site