Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Re: Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback()
       [not found]   ` <SN1PR0701MB1918FEB1B2765B17EBC98CFDE0FC0@SN1PR0701MB1918.namprd07.prod.outlook.com>
@ 2015-04-27  9:44     ` Johan Hovold
  2015-04-27 14:32       ` Sasha Levin
  2015-05-04  9:14       ` Luis Henriques
  0 siblings, 2 replies; 3+ messages in thread
From: Johan Hovold @ 2015-04-27  9:44 UTC (permalink / raw)
  To: Sasha Levin; +Cc: Johan Hovold, linux-usb@vger.kernel.org, Mark Enstone, stable

Hi Sasha, 

On Wed, Apr 08, 2015 at 05:29:16PM +0000, Mark Enstone wrote:
> Everyone, thank you for your attention and suggestions.
> 
> Johan, perfect, thank you, that did indeed help and has fixed the
> issue I was seeing.
> 
> The change replaced dev_err() with dev_dbg() -- thus not logging (by
> default) what was a very noisy flood of messages. Does that simply
> change timing enough such that the USB HCD has time to process the
> disconnect? Or is there something else going on that I'm missing?

> > -----Original Message-----
> > From: Johan Hovold [mailto:jhovold@gmail.com] On Behalf Of Johan Hovold
> > Sent: Tuesday, April 07, 2015 2:58 PM
> > To: Mark Enstone
> > Cc: linux-usb@vger.kernel.org
> > Subject: Re: Question: drivers/usb/serial/generic.c:
> > usb_serial_generic_read_bulk_callback()

> > Could you try updating to 3.19 (or later) or to cherry pick aa8e22128b40
> > ("usb: serial: silence all non-critical read errors") and see if that helps?
> > 
> > We should backport that one to stable either way.

You may want to add aa8e22128b40 ("usb: serial: silence all non-critical
read errors") to 3.18-stable as it fixes a lock-up-on-disconnect
regression with at least two controllers (3.15 through 3.18 are
affected).

Thanks,
Johan

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

* Re: Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback()
  2015-04-27  9:44     ` Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback() Johan Hovold
@ 2015-04-27 14:32       ` Sasha Levin
  2015-05-04  9:14       ` Luis Henriques
  1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2015-04-27 14:32 UTC (permalink / raw)
  To: Johan Hovold; +Cc: linux-usb@vger.kernel.org, Mark Enstone, stable

On 04/27/2015 05:44 AM, Johan Hovold wrote:
>>> Could you try updating to 3.19 (or later) or to cherry pick aa8e22128b40
>>> > > ("usb: serial: silence all non-critical read errors") and see if that helps?
>>> > > 
>>> > > We should backport that one to stable either way.
> You may want to add aa8e22128b40 ("usb: serial: silence all non-critical
> read errors") to 3.18-stable as it fixes a lock-up-on-disconnect
> regression with at least two controllers (3.15 through 3.18 are
> affected).

I've added it to the queue, thanks!


Thanks,
Sasha

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

* Re: Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback()
  2015-04-27  9:44     ` Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback() Johan Hovold
  2015-04-27 14:32       ` Sasha Levin
@ 2015-05-04  9:14       ` Luis Henriques
  1 sibling, 0 replies; 3+ messages in thread
From: Luis Henriques @ 2015-05-04  9:14 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Sasha Levin, linux-usb@vger.kernel.org, Mark Enstone, stable

On Mon, Apr 27, 2015 at 11:44:58AM +0200, Johan Hovold wrote:
> Hi Sasha, 
> 
> On Wed, Apr 08, 2015 at 05:29:16PM +0000, Mark Enstone wrote:
> > Everyone, thank you for your attention and suggestions.
> > 
> > Johan, perfect, thank you, that did indeed help and has fixed the
> > issue I was seeing.
> > 
> > The change replaced dev_err() with dev_dbg() -- thus not logging (by
> > default) what was a very noisy flood of messages. Does that simply
> > change timing enough such that the USB HCD has time to process the
> > disconnect? Or is there something else going on that I'm missing?
> 
> > > -----Original Message-----
> > > From: Johan Hovold [mailto:jhovold@gmail.com] On Behalf Of Johan Hovold
> > > Sent: Tuesday, April 07, 2015 2:58 PM
> > > To: Mark Enstone
> > > Cc: linux-usb@vger.kernel.org
> > > Subject: Re: Question: drivers/usb/serial/generic.c:
> > > usb_serial_generic_read_bulk_callback()
> 
> > > Could you try updating to 3.19 (or later) or to cherry pick aa8e22128b40
> > > ("usb: serial: silence all non-critical read errors") and see if that helps?
> > > 
> > > We should backport that one to stable either way.
> 
> You may want to add aa8e22128b40 ("usb: serial: silence all non-critical
> read errors") to 3.18-stable as it fixes a lock-up-on-disconnect
> regression with at least two controllers (3.15 through 3.18 are
> affected).
> 

Thanks, I'm also queuing this patch to the 3.16 kernel.

Cheers,
--
Lu�s

> Thanks,
> Johan
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-05-04  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BY1PR0701MB19105B60D7D783BE1323DB1EE0FD0@BY1PR0701MB1910.namprd07.prod.outlook.com>
     [not found] ` <20150407195741.GA12027@localhost>
     [not found]   ` <SN1PR0701MB1918FEB1B2765B17EBC98CFDE0FC0@SN1PR0701MB1918.namprd07.prod.outlook.com>
2015-04-27  9:44     ` Question: drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback() Johan Hovold
2015-04-27 14:32       ` Sasha Levin
2015-05-04  9:14       ` Luis Henriques

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