mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Lu Baolu <baolu.lu@linux.intel.com>
Cc: Mathias Nyman <mathias.nyman@intel.com>,
	Alan Stern <stern@rowland.harvard.edu>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 2/3] usb: xhci: implement device_suspend/device_resume entries
Date: Mon, 1 Jun 2015 10:49:19 +0900	[thread overview]
Message-ID: <20150601014919.GA23945@kroah.com> (raw)
In-Reply-To: <1431134130-7922-3-git-send-email-baolu.lu@linux.intel.com>

On Sat, May 09, 2015 at 09:15:29AM +0800, Lu Baolu wrote:
> This patch implements device_suspend/device_resume entries for xHC driver.
> device_suspend will be called when a USB device is about to suspend. It
> will issue a stop endpoint command for each endpoint in this device. The
> Suspend(SP) bit in the command TRB will set which will give xHC a hint
> about the suspend. device_resume will be called when a USB device is just
> resumed. It will ring doorbells of all endpoint unconditionally. XHC may
> use these suspend/resume hints to optimize its operation.
> 
> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
> ---
>  drivers/usb/host/xhci-hub.c |  2 +-
>  drivers/usb/host/xhci.c     | 38 ++++++++++++++++++++++++++++++++++++++
>  drivers/usb/host/xhci.h     |  9 +++++++++
>  3 files changed, 48 insertions(+), 1 deletion(-)

I want to see these come through Mathias, after he has verified that
they work properly.  I'll take them that way.

thanks,

greg k-h

  reply	other threads:[~2015-06-01  1:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09  1:15 [PATCH v5 0/3] usb: notify hcd when USB device suspend or resume Lu Baolu
2015-05-09  1:15 ` [PATCH v5 1/3] " Lu Baolu
2015-05-09  1:15 ` [PATCH v5 2/3] usb: xhci: implement device_suspend/device_resume entries Lu Baolu
2015-06-01  1:49   ` Greg Kroah-Hartman [this message]
2015-05-09  1:15 ` [PATCH v5 3/3] usb: xhci: remove stop device and ring doorbell in hub control and bus suspend Lu Baolu
2015-06-25 14:53   ` Mathias Nyman
2015-06-26  4:52     ` Lu, Baolu

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=20150601014919.GA23945@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=baolu.lu@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=stern@rowland.harvard.edu \
    /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

Powered by JetHome