Re: USB transaction errors causing RCU stalls and kernel panics

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

 



Am Mittwoch, den 04.03.2020, 14:11 +0200 schrieb Mathias Nyman:
> On 3.3.2020 22.08, Jonas Karlsson wrote:

> 
> I recently got a report about a bit similar issue on a 4.4 stable kernel, so this
> might not be xhci-cdns specific.
> 
> That case involved autosuspend of the cdc-acm, and there was only a short burst of
> transaction erros and resubmitted URBs even if the device was supposed to be suspended.
> It looks like cdc_acm autosuspended even if it had URBs pending.

That must not happen. Do you have details?

> I'm guessing that in that case the transfer ring restarted even if link was already "suspeded",
> causing transaction errors. Ring could be restarted if URBs were resubmitted
> by the class driver when usb core suspends all interfaces, flushing all pending URBs which
> calls the URB completion handler.

How should a class driver do that? It gets -EPROTO and that's it,

	Regards
		Oliver




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

  Powered by Linux