Re: PCI D3 wakeup failure on Lynx Point xHCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, February 21, 2013 01:41:45 PM Sarah Sharp wrote:
> Hi Rafael,

Hi,
 
> I'm running into some issues with PCI D3

Do you mean D3hot?

> wakeup on the latest version of the Lynx Point chipset.  I can give you the
> stepping and BIOS version privately if you need it.
> 
> Basically, I think PMEs are being lost somewhere in the ACPI or PCI
> stack.  I'm not sure how to further debug this issue, so I'm hoping you have
> some pointers.
> 
> This is reproduced on the 3.7.1, 3.7.7, and 3.8.0 kernels.
> 
> First, I go into powertop and basically change all the 'Bad' entries to
> 'Good', which turns on runtime PM for all PCI devices, bridges, and
> rootports.  I have no USB devices plugged into the xHCI host, and I wait
> until the host is suspended, and the PCI device is in D3.
> 
> Then I run:
> 
> watch -n 1 'sudo lspci -vvv -s 00:14.0'
> 
> When I plug in a USB 2.0 device to a USB 2.0 port, the hotplug event is
> lost.  I can see from the lspci output that the Status line under the PM
> capabilities changes when I plug in the device.  The PME- changes to
> PME+, which I assume means a PME happened.  But the USB core's PCI
> resume functions are never called.
> 
> Wakeup from D3 works fine on the previous generation chipset (Panther
> Point) on my Lenovo x230 laptop, so this makes me suspicious that it's a
> hardware or BIOS issue.  I'll try updating my BIOS and seeing if that
> helps.

In addition to that you can see if the number of ACPI interrupts (in
/proc/interrupts) grows when you plug the USB device in and if so,
whether or not any of the numbers in /sys/firmware/acpi/interrupts/gpe*
grows at the same time.

Thanks,
Rafael


-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux