[Lucid, Maverick] SRU: enable PCIEXP wakeup by clearing PCIEXP_WAKE_STS on resume

Colin King colin.king at canonical.com
Wed Oct 6 12:22:13 UTC 2010


From: Colin Ian King <colin.king at canonical.com>

SRU Justification:

Impact: It has been observed on a AMD K325 netbook that resumes hang in the 
BIOS if PCI Express ethernet is enabled on the 2nd or 3rd resume. Disabling 
the ethernet has shown that the resume works flawlessly. This has been tracked 
down to the fact that a PCI Express Wake event has occurred and the kernel 
is not clearing the PM1 PCIEXP_WAKE_STS bit when coming out of resume.

Fix: Clearing PCIEXP_WAKE_STS on resume fixes the resume hang. 

Testcase: Without the patch, resume hangs in the BIOS after 2nd or 3rd resume.
With the patch, resume works flawlessly everytime.

Patch is from upstream commit 573b638158029898caf9470c8214b7ddd29751e3

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

Colin Ian King (1):
  ACPI: enable repeated PCIEXP wakeup by clearing PCIEXP_WAKE_STS on
    resume

 drivers/acpi/acpica/aclocal.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)





More information about the kernel-team mailing list