Skip to content

usb console regression fixes - 2.6.31

Jason Wessel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb,console: Fix regression in usb console on kernel bootdrivers/usb/serial/console.c drivers/usb/serial/usb-serial.c+9 -71 reply
2/3usb-serial: regression fix to move sysrq from hot pathdrivers/usb/serial/generic.c+12 -42 replies
3/3usb-serial: optimize sysrq function callsdrivers/usb/serial/generic.c include/linux/usb/serial.h+28 -290 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAlan Cox
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] usb console regression fixes - 2.6.31

This patch series is aimed to fix the performance and crash regression with usb console devices.

The first patch in the series fixes the usb console reference counting which led to a oops during boot. The test case for this was to use the FTDI usb serial device with the kernel boot argument "console=ttyUSB0" and also using the device as an interactive terminal.

The second and third patch optimize the performance of the hot path for usb serial input processing.

If Alan ack's or signs off on the patches, I'll issue a pull request to Linus, or we can go another round of revision/review if needed.

Thanks,
Jason.

The short log and git info is below, which is against the 2.6.31 development tree.

The following changes since commit 3fe0344faf7fdcb158bd5c1a9aec960a8d70c8e8:
Linus Torvalds (1):
Merge branch 'kmemleak' of git://linux-arm.org/linux-2.6

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git for_linus

Jason Wessel (3):
usb,console: Fix regression in usb console on kernel boot
usb-serial: regression fix to move sysrq from hot path
usb-serial: optimize sysrq function calls

 drivers/usb/serial/console.c    |   13 ++++++-----
 drivers/usb/serial/generic.c    |   41 +++++++++++---------------------------
 drivers/usb/serial/usb-serial.c |    3 +-
 include/linux/usb/serial.h      |   32 ++++++++++++++++++++++++++---
 4 files changed, 49 insertions(+), 40 deletions(-)