public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] usb console: 2.6.32 regression fixes
@ 2009-09-17  3:08 Jason Wessel
  2009-09-17  3:08 ` [PATCH 1/3] usb console: fix mutex lock regression Jason Wessel
  0 siblings, 1 reply; 22+ messages in thread
From: Jason Wessel @ 2009-09-17  3:08 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, stern, linux-kernel

There are 3 regressions in the 2.6.32 development stream for the usb
serial console.

1) A hang in the usb serial core due to a unfreed mutex

2) Crash in the usb serial core if you use a serial console
   because there is a double open of the low level device

3) It is not possible to pass the console baud rate on to
   the first tty open for any usb serial driver other
   than the pl2303 (which has device specific baud
   management).

The first open of the usb serial HW has the termios initialized to
9600 baud, and this will override what ever was setup via the original
console initialization.  The solution is to save the console baud rate
and re-use it later on the first open.

This patch series only applies to the end of the Greg KH usb tree.  It
was tested with a pl2303, mct_u232 and ftdi_sio usb serial devices.

Jason.

Jason Wessel (3):
      usb console: fix mutex lock regression
      usb console,usb-serial: fix regression use of serial->console
      usb console,usb-serial: pass initial console baud on to first tty open

 drivers/usb/serial/console.c    |    2 ++
 drivers/usb/serial/usb-serial.c |   32 +++++++++++++++++---------------
 include/linux/usb/serial.h      |    1 +
 3 files changed, 20 insertions(+), 15 deletions(-)

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-09-29 22:47 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-17  3:08 [PATCH 0/3] usb console: 2.6.32 regression fixes Jason Wessel
2009-09-17  3:08 ` [PATCH 1/3] usb console: fix mutex lock regression Jason Wessel
2009-09-17  3:08   ` [PATCH 2/3] usb console,usb-serial: fix regression use of serial->console Jason Wessel
2009-09-17  3:08     ` [PATCH 3/3] usb console,usb-serial: pass initial console baud on to first tty open Jason Wessel
2009-09-17  3:32       ` Alan Stern
2009-09-17  3:40         ` Jason Wessel
2009-09-17  3:46           ` Alan Stern
2009-09-17  4:17             ` Jason Wessel
2009-09-17  9:14               ` Alan Cox
2009-09-17 12:16                 ` Jason Wessel
2009-09-17 13:08                   ` Alan Cox
2009-09-17 13:19                     ` Alan Cox
2009-09-17 14:17                       ` Jason Wessel
2009-09-17 16:02                         ` Alan Cox
2009-09-22 20:54                           ` Jason Wessel
2009-09-29 17:24                             ` How to handle console devices Alan Stern
2009-09-29 22:47                               ` Alan Cox
2009-09-17  3:30     ` [PATCH 2/3] usb console,usb-serial: fix regression use of serial->console Alan Stern
2009-09-17  3:32       ` Jason Wessel
2009-09-17  3:25   ` [PATCH 1/3] usb console: fix mutex lock regression Alan Stern
2009-09-17  3:32     ` Jason Wessel
2009-09-18 17:16     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox