[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-stable-commits
Subject: patch acpi-suspend-don-t-let-device-_ps3-failure-prevent-suspend.patch added to 2.6.27-stable tree
From: <gregkh () suse ! de>
Date: 2009-07-28 19:26:46
Message-ID: 20090728192741.78BBE49106 () coco ! kroah ! org
[Download RAW message or body]
This is a note to let you know that we have just queued up the patch titled
Subject: ACPI: suspend: don't let device _PS3 failure prevent suspend
to the 2.6.27-stable tree. Its filename is
acpi-suspend-don-t-let-device-_ps3-failure-prevent-suspend.patch
A git repo of this tree can be found at
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
From 19bde778c1fd2574cc020a618d7d576f260271ca Mon Sep 17 00:00:00 2001
From: Len Brown <len.brown@intel.com>
Date: Fri, 8 May 2009 00:22:29 -0400
Subject: ACPI: suspend: don't let device _PS3 failure prevent suspend
From: Len Brown <len.brown@intel.com>
commit 19bde778c1fd2574cc020a618d7d576f260271ca upstream.
6328a57401dc5f5cf9931738eb7268fcd8058c49
"Enable PNPACPI _PSx Support, v3"
added a call to acpi_bus_set_power(handle, ACPI_STATE_D3)
to pnpacpi_disable_resource() before the existing call
to evaluate _DIS on the device.
This caused suspend to fail on the system in
http://bugzilla.kernel.org/show_bug.cgi?id=13243
because the sanity check to verify we entered _PS3
failed on the serial port.
As a work-around, that sanity check can be disabled
system-wide with "acpi.power_nocheck=1"
Or perhaps we should just shrug off the _PS3 failure
and carry on with _DIS like we used to -- which is
what this patch does.
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/pnp/pnpacpi/core.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
--- a/drivers/pnp/pnpacpi/core.c
+++ b/drivers/pnp/pnpacpi/core.c
@@ -111,11 +111,9 @@ static int pnpacpi_disable_resources(str
/* acpi_unregister_gsi(pnp_irq(dev, 0)); */
ret = 0;
- if (acpi_bus_power_manageable(handle)) {
- ret = acpi_bus_set_power(handle, ACPI_STATE_D3);
- if (ret)
- return ret;
- }
+ if (acpi_bus_power_manageable(handle))
+ acpi_bus_set_power(handle, ACPI_STATE_D3);
+ /* continue even if acpi_bus_set_power() fails */
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_DIS", NULL, NULL)))
ret = -ENODEV;
return ret;
Patches currently in stable-queue which might be from len.brown@intel.com are
queue-2.6.27/acpi-ec-limit-workaround-for-asus-notebooks-even-more.patch
queue-2.6.27/acpi-suspend-don-t-let-device-_ps3-failure-prevent-suspend.patch
queue-2.6.27/enable-pnpacpi-_psx-support-v3.patch
--
To unsubscribe from this list: send the line "unsubscribe stable-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic