All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: linux-usb@vger.kernel.org
Cc: <sarah.a.sharp@intel.com>, <linux-kernel@vger.kernel.org>,
	Mathias Nyman <mathias.nyman@linux.intel.com>
Subject: [RFC PATCH v3 0/4] Add usb2 link powermanagement BESL support
Date: Thu, 23 May 2013 17:14:27 +0300	[thread overview]
Message-ID: <1369318471-10353-1-git-send-email-mathias.nyman@linux.intel.com> (raw)

This series adds usb2 best effort service latency (BESL) link PM support
to xHCI. BESL is an updated alternative to host initated resume delay
(HIRD) method of describing idle link timeouts.

Additionally this series fixes port capability checking
and replaces magic numbers with port register names.

Changes since v1:
-Use kstrto* and unsigned values in sysfs functions as Alan Stern suggested    

Changes since v2:
- Add Documentation/ABI/testing/sysfs-bus-usb entries for new sysfs attributes
- store l1_timeout value in microseconds instead of xHCI specific values

Mathias Nyman (4):
  usb: xhci: check usb2 port capabilities before adding hw link PM
    support
  usb: xhci: define port register names and use them instead of magic
    numbers
  usb: xhci: add USB2 Link power management BESL support
  usb: add usb2 Link PM variables to sysfs and usb_device

 Documentation/ABI/testing/sysfs-bus-usb |   27 ++++
 drivers/usb/core/sysfs.c                |   54 +++++++
 drivers/usb/host/xhci-ext-caps.h        |    1 +
 drivers/usb/host/xhci-hub.c             |   16 +--
 drivers/usb/host/xhci-mem.c             |   33 ++++-
 drivers/usb/host/xhci.c                 |  237 ++++++++++++++++++++++---------
 drivers/usb/host/xhci.h                 |   29 ++++
 include/linux/usb.h                     |   20 +++
 8 files changed, 337 insertions(+), 80 deletions(-)

-- 
1.7.4.1


             reply	other threads:[~2013-05-23 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 14:14 Mathias Nyman [this message]
2013-05-23 14:14 ` [RFC PATCH v3 1/4] usb: xhci: check usb2 port capabilities before adding hw link PM support Mathias Nyman
2013-05-23 14:14 ` [RFC PATCH v3 2/4] usb: xhci: define port register names and use them instead of magic numbers Mathias Nyman
2013-05-23 14:14 ` [RFC PATCH v3 3/4] usb: xhci: add USB2 Link power management BESL support Mathias Nyman
2013-05-23 14:14 ` [RFC PATCH v3 4/4] usb: add usb2 Link PM variables to sysfs and usb_device Mathias Nyman
2013-06-04 23:05 ` [RFC PATCH v3 0/4] Add usb2 link powermanagement BESL support Sarah Sharp
2013-06-05 14:51   ` Alan Stern
2013-06-05 15:39     ` Greg KH

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=1369318471-10353-1-git-send-email-mathias.nyman@linux.intel.com \
    --to=mathias.nyman@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=sarah.a.sharp@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.