linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Mathias Nyman <mathias.nyman@linux.intel.com>
Cc: linux-usb@vger.kernel.org, Anshuman Gupta <anshuman.gupta@intel.com>
Subject: [2/3] xhci: Avoid USB autosuspend when resuming USB2 ports.
Date: Fri, 14 Sep 2018 15:00:40 +0200	[thread overview]
Message-ID: <20180914130040.GA3555@kroah.com> (raw)

On Fri, Sep 14, 2018 at 03:33:30PM +0300, Mathias Nyman wrote:
> From: Anshuman Gupta <anshuman.gupta@intel.com>
> 
> When USB bus host controller root hub resumes from autosuspend,
> it immediately tries to enter auto-suspend, but there can be a
> scenario when root hub is resuming its usb2 ports, in that particular
> case USB host controller auto suspend fails since it is busy
> to resuming its usb2 ports.
> 
> This makes multiple failed cycles of auto-suspend until all usb2
> ports of host controller root hub do not resume.
> 
> This patch uses USB core framework usb_hcd_start_port_resume,
> usb_hcd_end_port_resume API's in order to  autoresume/autosuspend
> root hub properly.
> 
> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>

Not needed in stable?  Does this fix a specific commit?

thanks,

greg k-h

             reply	other threads:[~2018-09-14 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14 13:00 Greg Kroah-Hartman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-09-20 10:35 [2/3] xhci: Avoid USB autosuspend when resuming USB2 ports Greg Kroah-Hartman
2018-09-19  5:24 Anshuman Gupta
2018-09-17  8:24 Mathias Nyman
2018-09-14 12:33 Mathias Nyman

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=20180914130040.GA3555@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=anshuman.gupta@intel.com \
    --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).