mbox series

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

Message ID 20181127074525.31478-1-aaron.ma@canonical.com
Headers show
Series : SRU: xhci hang when resume from S3 | expand

Message

Aaron Ma Nov. 27, 2018, 7:45 a.m. UTC
[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@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(-)

Comments

Kleber Sacilotto de Souza Nov. 28, 2018, 2:41 p.m. UTC | #1
On 11/27/18 8:45 AM, Aaron Ma wrote:
> [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@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(-)
>
Hi Aaron,

The patches are missing the Buglink reference. Could you please resend?


Thanks,

Kleber
Aaron Ma Nov. 28, 2018, 3:32 p.m. UTC | #2
V2 sent.

Thanks,
Aaron