Hi, This is xHCI USB2 hardware LPM patchset v4. Changelog from v3: 1. Move spinlock prtotection from xhci_update_device() to LPM test and set function, because LPM set function can be called directly; 2. Modify the sysfs patch so the usb2_hardware_lpm file will not show up unless the device can perform USB2 hardware LPM; 3. Refine sysfs patch description to specify it's for test purpose. 3. Modify sysfs patch to update Documentation/ABI/testing/sysfs-bus-usb file. Thanks, Andiry --- Andiry Xu (9): usbcore: get BOS descriptor set usbcore: check device's LPM capability xHCI: set link state xHCI: test and clear RWC bit xHCI: Clear PLC for USB2 root hub ports xHCI: Check host USB2 LPM capability xHCI: test USB2 software LPM xHCI: set USB2 hardware LPM usbcore: add sysfs support to xHCI usb2 hardware LPM Documentation/ABI/testing/sysfs-bus-usb | 15 ++ Documentation/usb/power-management.txt | 27 ++++ drivers/usb/core/config.c | 103 +++++++++++++ drivers/usb/core/driver.c | 14 ++ drivers/usb/core/hub.c | 18 +++ drivers/usb/core/sysfs.c | 73 +++++++++- drivers/usb/core/usb.c | 1 + drivers/usb/core/usb.h | 7 + drivers/usb/host/xhci-ext-caps.h | 6 + drivers/usb/host/xhci-hub.c | 103 +++++++------ drivers/usb/host/xhci-mem.c | 28 ++++ drivers/usb/host/xhci-pci.c | 5 + drivers/usb/host/xhci-ring.c | 16 +- drivers/usb/host/xhci.c | 253 +++++++++++++++++++++++++++++++ drivers/usb/host/xhci.h | 28 ++++- include/linux/usb.h | 18 +++ include/linux/usb/hcd.h | 1 + 17 files changed, 657 insertions(+), 59 deletions(-) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html