Hi Sarah, Alan,

The following patches are required to resolve remote wake issues with
certain devices.

Issue description:
If the remote wake is issued from the device in a specific timing
condition while the system is entering sleep state then it may cause
system to auto wake on subsequent sleep cycle.

Root Cause:
Host controller rebroadcasts the Resume signal > 100 µseconds after
receiving the original resume event from the device. For proper
function, some devices may require the rebroadcast of resume event
within the USB spec of 100µS.

Without this quirk, some AMD platform doesn't hold the resume right
away when there is a resume signal from LS device like mouse. So it
should reset the port which attached with mouse.

Patch 1 is the implementation for xHCI driver.
Patch 2 is the implementation for OHCI driver.
They are generated on gregkh/usb usb-next.

Thanks,
Rui

Huang Rui (2):
  usb: xhci: implement AMD remote wakeup quirk
  usb: ohci: add AMD remote wakeup quirk into ohci driver

 drivers/usb/core/hub.c        | 28 ++++++++++++++++++++
 drivers/usb/host/ohci-hub.c   | 42 +++++++++++++++++++++++++++++
 drivers/usb/host/ohci-pci.c   | 13 +++++++++
 drivers/usb/host/ohci.h       | 23 ++++++++--------
 drivers/usb/host/pci-quirks.c | 17 +++++++++++-
 drivers/usb/host/pci-quirks.h |  1 +
 drivers/usb/host/xhci-pci.c   |  4 +++
 drivers/usb/host/xhci.c       | 61 +++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/host/xhci.h       | 25 +++++++++---------
 include/linux/usb.h           |  1 +
 10 files changed, 191 insertions(+), 24 deletions(-)

-- 
1.7.11.7


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to