Bug 193951
Summary: | PCIe hotplug power control via sysfs broken | ||
---|---|---|---|
Product: | Drivers | Reporter: | Lukas Wunner (lukas) |
Component: | PCI | Assignee: | drivers_pci (drivers_pci) |
Status: | NEW --- | ||
Severity: | normal | CC: | lukas, yinghai |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.10 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Yinghai Lu's report as attachment (w/o line wrapping)
Fix reported to be working by Yinghai Lu Problem case #2: Skylake machine (v4.10 log) Problem case #2: Skylake machine (v4.10 log with 68db9bc reverted) |
Description
Lukas Wunner
2017-02-04 07:25:29 UTC
Created attachment 254021 [details]
Yinghai Lu's report as attachment (w/o line wrapping)
Yinghai Lu reports that acquiring a runtime ref in drivers/pci/pciehp_ctrl.c:pciehp_enable_slot() does not solve the issue, but notes that an extra Link Up event is signaled with commit 68db9bc81436 applied. Perhaps this is caused by enabling PME when runtime suspending the port to D3? Created attachment 254171 [details]
Fix reported to be working by Yinghai Lu
Created attachment 254181 [details]
Problem case #2: Skylake machine (v4.10 log)
The issue on the first problematic machine was caused by PME being enabled on runtime suspend and a fix was found.
However a second machine causes troubles even with the fix, it fails to train the link on runtime resume.
Created attachment 254191 [details]
Problem case #2: Skylake machine (v4.10 log with 68db9bc reverted)
|