LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Mirco Tischler <mt-ml@gmx.de>
Cc: lkml <linux-kernel@vger.kernel.org>,
Len Brown <len.brown@intel.com>, Pavel Machek <pavel@suse.cz>,
Ray Lee <ray-lk@madrabbit.org>
Subject: Re: [REGRESSION]fan turns at highspeed after suspend2ram
Date: Tue, 12 Feb 2008 23:18:45 +0100 [thread overview]
Message-ID: <200802122318.46271.rjw@sisk.pl> (raw)
In-Reply-To: <1202853943.6790.3.camel@mtlp>
On Tuesday, 12 of February 2008, Mirco Tischler wrote:
>
> Am Dienstag, den 12.02.2008, 01:13 +0100 schrieb Rafael J. Wysocki:
> > Since _GTS and _BFS don't seem to be defined in your box's BIOS, please
> > try to apply the appended patch on top of the revert and see if that breaks
> > things again.
> >
> > Thanks,
> > Rafael
> >
> > ---
> > drivers/acpi/hardware/hwsleep.c | 11 -----------
> > 1 file changed, 11 deletions(-)
> >
> > Index: linux-2.6/drivers/acpi/hardware/hwsleep.c
> > ===================================================================
> > --- linux-2.6.orig/drivers/acpi/hardware/hwsleep.c
> > +++ linux-2.6/drivers/acpi/hardware/hwsleep.c
> > @@ -199,11 +199,6 @@ acpi_status acpi_enter_sleep_state_prep(
> > return_ACPI_STATUS(status);
> > }
> >
> > - status = acpi_evaluate_object(NULL, METHOD_NAME__GTS, &arg_list, NULL);
> > - if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
> > - return_ACPI_STATUS(status);
> > - }
> > -
> > /* Setup the argument to _SST */
> >
> > switch (sleep_state) {
> > @@ -554,12 +549,6 @@ acpi_status acpi_leave_sleep_state(u8 sl
> > ACPI_EXCEPTION((AE_INFO, status, "During Method _SST"));
> > }
> >
> > - arg.integer.value = sleep_state;
> > - status = acpi_evaluate_object(NULL, METHOD_NAME__BFS, &arg_list, NULL);
> > - if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
> > - ACPI_EXCEPTION((AE_INFO, status, "During Method _BFS"));
> > - }
> > -
> > /*
> > * GPEs must be enabled before _WAK is called as GPEs
> > * might get fired there
> Yes, that's it. This patch breaks things again.
Ouch. I think I know what the problem is.
On top of this patch, please apply the appended one and retest.
Thanks,
Rafael
---
drivers/acpi/hardware/hwsleep.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/drivers/acpi/hardware/hwsleep.c
===================================================================
--- linux-2.6.orig/drivers/acpi/hardware/hwsleep.c
+++ linux-2.6/drivers/acpi/hardware/hwsleep.c
@@ -566,6 +566,7 @@ acpi_status acpi_leave_sleep_state(u8 sl
return_ACPI_STATUS(status);
}
+ arg.integer.value = sleep_state;
status = acpi_evaluate_object(NULL, METHOD_NAME__WAK, &arg_list, NULL);
if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) {
ACPI_EXCEPTION((AE_INFO, status, "During Method _WAK"));
next prev parent reply other threads:[~2008-02-12 22:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-10 17:21 Mirco Tischler
2008-02-10 17:52 ` Ray Lee
2008-02-10 18:55 ` Rafael J. Wysocki
2008-02-10 18:54 ` Rafael J. Wysocki
2008-02-11 15:56 ` Mirco Tischler
2008-02-11 18:27 ` Ray Lee
2008-02-11 19:13 ` Rafael J. Wysocki
2008-02-11 22:32 ` Mirco Tischler
2008-02-11 23:05 ` Rafael J. Wysocki
2008-02-11 23:49 ` Mirco Tischler
2008-02-12 0:13 ` Rafael J. Wysocki
2008-02-12 22:05 ` Mirco Tischler
2008-02-12 22:18 ` Rafael J. Wysocki [this message]
2008-02-12 23:20 ` Mirco Tischler
2008-02-12 23:23 ` Rafael J. Wysocki
2008-02-13 0:08 ` Mirco Tischler
2008-02-13 0:16 ` Rafael J. Wysocki
2008-02-11 23:34 ` Rafael J. Wysocki
2008-02-11 19:15 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802122318.46271.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mt-ml@gmx.de \
--cc=pavel@suse.cz \
--cc=ray-lk@madrabbit.org \
--subject='Re: [REGRESSION]fan turns at highspeed after suspend2ram' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).