Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932390AbWCRNYN (ORCPT ); Sat, 18 Mar 2006 08:24:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932385AbWCRNYM (ORCPT ); Sat, 18 Mar 2006 08:24:12 -0500 Received: from mga03.intel.com ([143.182.124.21]:16936 "EHLO azsmga101-1.ch.intel.com") by vger.kernel.org with ESMTP id S932338AbWCRNYL convert rfc822-to-8bit (ORCPT ); Sat, 18 Mar 2006 08:24:11 -0500 X-IronPort-AV: i="4.03,106,1141632000"; d="scan'208"; a="13390115:sNHT16842196" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT] Date: Sat, 18 Mar 2006 21:24:04 +0800 Message-ID: <3ACA40606221794F80A5670F0AF15F84041AC267@pdsmsx403> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT] Thread-Index: AcZKXVwIaqKQpOaTQFmyZGY6ZfeSfwAMO40Q From: "Yu, Luming" To: "Sanjoy Mahajan" Cc: , "Linus Torvalds" , "Andrew Morton" , "Tom Seeley" , "Dave Jones" , "Jiri Slaby" , , , "Brian Marete" , "Ryan Phillips" , , "Brown, Len" , , "Mark Lord" , "Randy Dunlap" , , "Duncan" <1i5t5.duncan@cox.net>, "Pavlik Vojtech" , "Meelis Roos" X-OriginalArrivalTime: 18 Mar 2006 13:24:05.0091 (UTC) FILETIME=[3A9EEB30:01C64A8F] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 28 >> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/