Re: [PATCH] usb: host: ehci: workaround PME bug on AMD EHCI controller

From: Kai-Heng Feng
Date: Sun Jun 18 2017 - 23:37:46 EST


On Sat, Jun 17, 2017 at 1:30 AM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 17 Jun 2017, Kai-Heng Feng wrote:
>
>> On Fri, Jun 16, 2017 at 11:07 AM, Kai-Heng Feng
>> <kai.heng.feng@xxxxxxxxxxxxx> wrote:
>> > On Thu, Jun 15, 2017 at 10:12 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>> >> Those documents refer to a hardware bug with a workaround in the BIOS.
>> >> Have you checked to see if your BIOS is up to date?
>> >
>> > Yes, it's up to date.
>> >
>>
>> Alan, I re-sent a patch but I forgot to add you to CC list:
>> http://marc.info/?l=linux-pci&m=149760607914628&w=2
>
> Thanks for letting me know. The patch seems reasonable.
>
> Have you tested it with system suspend? That is, if you suspend the
> whole computer, does plugging or unplugging a USB device cause the
> system to wake up?

No, the system will not wake up when plugging or unplugging.
Tried several times, nether runtime PM enabled nor runtime PM disabled
will wake up the system under S3, when (un)plugging USB devices.

>
> Alan Stern
>