[SRU][Artful][Bionic][Cosmic][PATCH 0/1] UBUNTU: SAUCE: PCI / PM: Check device_may_wakeup() in pci_enable_wake()

Joseph Salisbury joseph.salisbury at canonical.com
Fri May 11 18:41:52 UTC 2018


BugLink: http://bugs.launchpad.net/bugs/1765646

== SRU Justification ==
A regression was introduced in 4.13-rc1 and newer kernels.  This
regression caused battery drain during system suspend, hibernation or 
shutdown for some PCI devices that are not allowed by user space to wake 
up the system from sleep (or power off).

This fix has been submitted upstream and cc'd to stable.  However, it
has not landed in linux-next or mainline yet, so it is being sent as
SAUCE.

== Fix ==
UBUNTU: SAUCE: PCI / PM: Check device_may_wakeup() in pci_enable_wake()

== Regression Potential ==
Medium.  Commit fixes a current regresssion, but affects PCI power management.  
It will also be submitted to upstream stable and have additional review.
The commit is a clean cherry pick, builds successfully and was confirmed
to resolve regression.

== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.

Rafael J. Wysocki (1):
  PCI / PM: Check device_may_wakeup() in pci_enable_wake()

 drivers/pci/pci.c | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list