On 13.8.2019 9.50, Kai-Heng Feng wrote:
Hi Mathias,
at 21:24, Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> wrote:
at 22:45, Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx> wrote:
[snipped]
Yes, disabling runtime PM can workaround this issue.
What’s next step here? Is it a firmware bug?
Can't say.
From xhci driver point of view the 39:00.0 xHC controller isn't accessible after dock
is plugged back in. Looks like PCI side has issues getting the controller back to D3
after it was runtime suspended to D0 at dock unplug:
[ 346.455568] pci_raw_set_power_state: 25 callbacks suppressed
[ 346.455574] xhci_hcd 0000:39:00.0: Refused to change power state, currently in D3
As Mika suggested in the bug take a look at PCI side, especially the PCI status before
a failing dock replug.
-Mathias