>> The short-term proper way could be:
>> 1. add a global variable: acpi_in_suspend.
>> 2. in acpi_pm_prepare:
>> a.call acpi_os_wait_events_complete()
>> b.set acpi_in_suspend = YES.
>> in acpi_pm_finish :
>> set acpi_in_suspend = NO.
>> 3. in acpi_thermal_run:
>> if (acpi_in_suspend == YES)
>> do nothing.
>
>I tested the included diff to implement the above short-term fix. It
>also hung on the second sleep. BUT, it's the same reason that the
>utils.c change didn't help: because acpi_thermal_add() was loading
>THM[0267]. After the usual modification to acpi_thermal_add() to have
>it ignore THM[267], the system didn't hang (12 cycles). Which is
>progress.
Hmm, probably, you need to do :
4. in acpi_thermal_notify,
if (acpi_in_suspend == YES)
do nothing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]