Re: [USB] Fix stuck USB generic serial driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 01, 2010 at 08:13:02AM -0700, David VomLehn wrote:
> On Sat, Jul 31, 2010 at 12:56:50PM -0700, Greg KH wrote:
> > On Fri, Jul 30, 2010 at 07:19:41PM -0700, David VomLehn wrote:
> > > Make reservation of write URB atomic.
> > 
> > Why?  What is this fixing?  What is the problem you are seeing?
> 
> More description:
> 
> This is intended to fix a problem seen with the Amtel sam-ba tool by
> Alexander Stein (alexander.stein@xxxxxxxxxxxxxxxxxxxxx). It appears
> when using an A91 controller. He bisected it to commit:
> 
> 	8e8dce065088833fc418bfa5fbf035cb0726c04c: USB: use kfifo to buffer usb-generic serial writes
> 
> The current patch fixes a problem when using a USB serial device as the
> kernel console and as /dev/console. The URB allocation is not atomic and
> an URB can be doubly allocated, leading to a continual rejection of URB
> submissions.  The fix puts all pieces of the URB allocation in the same
> spinlock-protected section of code.

Great, care to resend the patch with this information in it so I can
apply it?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux