> -----Original Message----- > From: Thilo-Alexander Ginkel [mailto:thilo@xxxxxxxxxx] > Sent: Sunday, March 11, 2012 5:17 AM > To: Xu, Andiry > Cc: linux-usb@xxxxxxxxxxxxxxx; Sarah Sharp > Subject: Re: USB timeout during S3 suspend w/ NEC Corporation uPD720200 > > On Wed, Mar 7, 2012 at 05:44, Andiry Xu <andiry.xu@xxxxxxx> wrote: > > On 03/07/2012 06:42 AM, Thilo-Alexander Ginkel wrote: > >> On Fri, Mar 2, 2012 at 21:20, Thilo-Alexander Ginkel <thilo@xxxxxxxxxx> > wrote: > >>> from time to time my laptop (a Lenovo ThinkPad T420s) freezes while > >>> attempting to enter S3. From the dmesg output it seems that it is > >>> encountering a timeout while attempting to suspend the NEC Corporation > >>> uPD720200 USB 3.0 controller: > >>> > >>> xhci_hcd 0000:0d:00.0: WARN: xHC CMD_RUN timeout > >>> suspend_common(): xhci_pci_suspend+0x0/0x40 [xhci_hcd] returns -110 > >>> sdhci-pci 0000:05:00.0: PCI INT A disabled > >>> pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110 > > > > Please check if the patch attached helps. > > If not, modify XHCI_MAX_HALT_USEC to some bigger number, for example, > 50000. > > Unfortunately, the problem happened again - even though your patch was > applied and XHCI_MAX_HALT_USEC set to 50000. > > I did get some new debug output [1], though (apparently, this only > shows up after some additional timeout has elapsed, so I missed it > earlier when rebooting too fast): > > ... > xhci_hcd 0000:0d:00.0: Poll event ring: 4308439040 > xhci_hcd 0000:0d:00.0: op reg status = 0xffffffff > xhci_hcd 0000:0d:00.0: HW died, polling stopped. > This means your host controller is dead after suspend: op reg status reads 0xffffffff indicates the xHC is not working at all, it's in a status like "plug out". What's the kernel version are you using? Thanks, Andiry ��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥