Re: [REGRESSION]fan turns at highspeed after suspend2ram

From: Rafael J. Wysocki
Date: Mon Feb 11 2008 - 19:15:18 EST


On Tuesday, 12 of February 2008, Mirco Tischler wrote:
> On Di, 2008-02-12 at 00:05 +0100, Rafael J. Wysocki wrote:
> > Well, this is strange, because one function introduced by this commit
> is
> > referred to by the subsequent commits. Can you send me the patch
> reverting
> > this commit that you apply on top of 2.6.25-rc1, please?
> >
> > Thanks,
> > Rafael
>
> Here is the diff after reverting the patch.

OK, thanks.

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/