linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Neukum <oneukum@suse.com>
To: Mathias Nyman <mathias.nyman@linux.intel.com>,
	Jonas Karlsson <jonas.karlsson@actia.se>,
	Greg KH <gregkh@linuxfoundation.org>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: USB transaction errors causing RCU stalls and kernel panics
Date: Wed, 04 Mar 2020 15:12:53 +0100	[thread overview]
Message-ID: <1583331173.12738.26.camel@suse.com> (raw)
In-Reply-To: <6909d182-6cc5-c07f-ed79-02c741aec60b@linux.intel.com>

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


  reply	other threads:[~2020-03-04 14:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 15:05 USB transaction errors causing RCU stalls and kernel panics Jonas Karlsson
2020-03-03 16:39 ` Greg KH
2020-03-03 20:08   ` Jonas Karlsson
2020-03-04  6:37     ` Greg KH
2020-03-04 10:29     ` Oliver Neukum
2020-03-04 12:11     ` Mathias Nyman
2020-03-04 14:12       ` Oliver Neukum [this message]
2020-03-04 16:21         ` Mathias Nyman
2020-03-06  1:31           ` Peter Chen
2020-03-09 14:21             ` Jonas Karlsson
2020-03-10  8:14               ` Peter Chen
2020-03-10 10:04                 ` Jonas Karlsson
2020-03-10 11:04                   ` Oliver Neukum
2020-03-10 11:21                     ` Oliver Neukum
2020-03-10 12:26                       ` Jonas Karlsson
2020-03-10 16:04                         ` Jonas Karlsson
2020-03-10 16:11                           ` Fabio Estevam
2020-03-11  6:25                             ` Jonas Karlsson
2020-03-11 10:28                               ` Oliver Neukum
2020-03-11 14:59                                 ` Jonas Karlsson
2020-03-12 13:45                                   ` Oliver Neukum
2020-03-12 15:37                                     ` Jonas Karlsson
2020-03-13  9:27                                       ` Oliver Neukum
2020-03-16  7:07                                     ` Jonas Karlsson
2020-03-23 11:37                                       ` Jonas Karlsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1583331173.12738.26.camel@suse.com \
    --to=oneukum@suse.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jonas.karlsson@actia.se \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).