[SRU][B/OEM][PATCH 0/2][v2]: SRU: xhci hang when resume from S3

Aaron Ma aaron.ma at canonical.com
Wed Nov 28 15:29:22 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1805344

Chnangelog:
V2:
Add BugLink.

[Impact]
On some thinkpad laptops, Realtek USB3.0 Card Reader [0bda:0328] reports wrong port status on
Cannon lake PCH USB3.1 xHCI [8086:a36d] after resume from S3, then kernel hang.

[Fix]
Restrict the USB2 resume status check in USB2 roothub to fix hang issue.

[Test Case]
Suspend/resume 30 times OK.

[Regression Potential]
Low, upstream fix backported/cherry-picked.

These 2 patches are already Cc: stable at vger.kernel.org, cosmic and future kernel will get these 2 patches.

Aaron Ma (2):
  usb: xhci: fix uninitialized completion when USB3 port got wrong
    status
  usb: xhci: fix timeout for transition from RExit to U0

 drivers/usb/host/xhci-hub.c  | 6 +++---
 drivers/usb/host/xhci-ring.c | 2 +-
 drivers/usb/host/xhci.h      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list