[RFC PATCH v3 0/4] Add usb2 link powermanagement BESL support

From: Mathias Nyman
Date: Thu May 23 2013 - 10:11:27 EST

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
usb: xhci: define port register names and use them instead of magic
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(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/