Bug 206775

Summary: pcieport 0000:05:02.0: Refused to change power state, currently in D3 (ASUS G752VL )
Product: Drivers Reporter: Sergey Ivanov (icegood1980)
Component: USBAssignee: Default virtual assignee for Drivers/USB (drivers_usb)
Status: NEW ---    
Severity: normal CC: rui.zhang, yu.c.chen
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.3.0-42-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: journalctl.log

Description Sergey Ivanov 2020-03-07 09:40:04 UTC
Created attachment 287815 [details]
journalctl.log

Hi there. I wasn't able to wake up laptop ASUS G752VL after sleep. Obtained next errors during wake up:

[  124.831861] kernel: pcieport 0000:05:02.0: Refused to change power state, currently in D3
[  124.834278] kernel: xhci_hcd 0000:3c:00.0: Refused to change power state, currently in D3
[  124.914762] kernel: xhci_hcd 0000:3c:00.0: Refused to change power state, currently in D3
[  124.914791] kernel: xhci_hcd 0000:3c:00.0: Controller not ready at resume -19
[  124.914808] kernel: xhci_hcd 0000:3c:00.0: PCI post-resume error -19!
[  124.914810] kernel: xhci_hcd 0000:3c:00.0: HC died; cleaning up
[  124.914881] kernel: xhci_hcd 0000:3c:00.0: remove, state 4
[  124.914883] kernel: usb usb4: USB disconnect, device number 1
[  124.915032] kernel: xhci_hcd 0000:3c:00.0: USB bus 4 deregistered
[  124.915036] kernel: xhci_hcd 0000:3c:00.0: remove, state 4
[  124.915037] kernel: usb usb3: USB disconnect, device number 1
[  124.915137] kernel: xhci_hcd 0000:3c:00.0: Host halt failed, -19
[  124.915138] kernel: xhci_hcd 0000:3c:00.0: Host not accessible, reset failed.
[  124.915196] kernel: xhci_hcd 0000:3c:00.0: USB bus 3 deregistered
[  124.922809] boltd[3149]: [c8010000-0000-G752VL                     ] removed (/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:00.0/0000:06:00.0/domain0/0-0)
[  124.922938] boltd[3149]: [c8010000-0000-G752VL                     ] dbus: unexported
[  125.418343] boltd[3149]: [c8010000-0000-domain0                    ] disconnected from /sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/0000:05:00.0/0000:06:00.0/domain0

I understand that it might relate to my nvidia video card that doesn't recover it's state properly accordingly to
https://patchwork.kernel.org/patch/11195507/ and
https://www.spinics.net/lists/linux-usb/msg185958.html

It is reproducible on both proprietary nvidia 440 and free nouveau drivers.
More logs in attach. 

my acpi tables:

https://bugzilla.kernel.org/attachment.cgi?id=286299
and
https://bugzilla.kernel.org/attachment.cgi?id=286301
Comment 1 Chen Yu 2020-06-28 14:53:10 UTC
How about unload/disable graphic driver/usb3(xhci) driver and to see if it helps(and to narrow down)?
thanks