Bug 207883

Summary: Regression: USB (XHCI) controller not responding after suspend/wake
Product: Drivers Reporter: ryan
Component: USBAssignee: Default virtual assignee for Drivers/USB (drivers_usb)
Status: RESOLVED OBSOLETE    
Severity: normal CC: m.b.anti666, yu.c.chen
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.7-rc7 Subsystem:
Regression: Yes Bisected commit-id:

Description ryan 2020-05-25 10:00:10 UTC
5.7rc7 (regression from rc6) - USB devices won't work/respond after sleep/wake with mainline kernel. Hibernation is enabled.

ThinkPad X1 Yoga 4 / FC32.

relevant dmesg:

...
[ 2072.307746] Enabling non-boot CPUs ...
[ 2072.307798] x86: Booting SMP configuration:
[ 2072.307799] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 2072.309267] CPU1 is up
[ 2072.309304] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 2072.310479] CPU2 is up
[ 2072.310529] smpboot: Booting Node 0 Processor 3 APIC 0x6
[ 2072.311606] CPU3 is up
[ 2072.311636] smpboot: Booting Node 0 Processor 4 APIC 0x1
[ 2072.312824] CPU4 is up
[ 2072.312856] smpboot: Booting Node 0 Processor 5 APIC 0x3
[ 2072.313791] CPU5 is up
[ 2072.313823] smpboot: Booting Node 0 Processor 6 APIC 0x5
[ 2072.314760] CPU6 is up
[ 2072.314787] smpboot: Booting Node 0 Processor 7 APIC 0x7
[ 2072.315684] CPU7 is up
[ 2072.319783] ACPI: EC: interrupt unblocked
[ 2072.348118] nvme nvme0: Shutdown timeout set to 8 seconds
[ 2072.359090] nvme nvme0: 8/0/0 default/read/poll queues
[ 2072.399189] xhci_hcd 0000:00:14.0: Port resume timed out, port 1-10: 0x400603
[ 2083.020506] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
[ 2083.020510] xhci_hcd 0000:00:14.0: USBSTS: EINT PCD
[ 2083.020525] xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
[ 2083.020539] xhci_hcd 0000:00:14.0: HC died; cleaning up
[ 2083.020564] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
[ 2083.020567] xhci_hcd 0000:00:14.0: USBSTS: HCHalted EINT PCD
[ 2083.020583] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
[ 2083.020585] xhci_hcd 0000:00:14.0: USBSTS: HCHalted EINT PCD
[ 2083.020701] PM: dpm_run_callback(): usb_dev_thaw+0x0/0x20 returns -22
[ 2083.020712] PM: dpm_run_callback(): usb_dev_thaw+0x0/0x20 returns -22
[ 2083.020716] PM: dpm_run_callback(): usb_dev_thaw+0x0/0x20 returns -22
[ 2083.020718] PM: Device 1-9 failed to thaw async: error -22
[ 2083.020732] PM: Device 1-6 failed to thaw async: error -22
[ 2083.020740] PM: Device 1-8 failed to thaw async: error -22
[ 2083.181664] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops __i915_globals_flush [i915])
[ 2083.187923] PM: Using 3 thread(s) for compression
[ 2083.187925] PM: Compressing and saving image data (1562537 pages)...
[ 2083.187951] PM: Image saving progress:   0%
[ 2083.651716] PM: Image saving progress:  10%
[ 2084.105456] PM: Image saving progress:  20%
[ 2084.547103] PM: Image saving progress:  30%
[ 2085.060266] PM: Image saving progress:  40%
[ 2085.495860] PM: Image saving progress:  50%
[ 2086.040641] PM: Image saving progress:  60%
[ 2086.590455] PM: Image saving progress:  70%
[ 2087.092017] PM: Image saving progress:  80%
[ 2087.541204] PM: Image saving progress:  90%
[ 2087.969133] PM: Image saving progress: 100%
Comment 1 Chen Yu 2020-06-22 06:54:29 UTC
Hi,
How about posting this issue to the USB mailing list directly? So the USB developers could help on this, as we have the XHCI log already. And is it possible to do a git bisect on this please?
Comment 2 ryan 2020-06-22 08:40:09 UTC
Sorry I had forgotten to come back to this, thanks for the attention. 

This seemed to go away with -rc8 and 5.7.0, and I'm now running 5.8-rc1 without seeing it again, so I'll close it for now.