Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751637AbWCPGyJ (ORCPT ); Thu, 16 Mar 2006 01:54:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752200AbWCPGyI (ORCPT ); Thu, 16 Mar 2006 01:54:08 -0500 Received: from mraos.ra.phy.cam.ac.uk ([131.111.48.8]:13551 "EHLO mraos.ra.phy.cam.ac.uk") by vger.kernel.org with ESMTP id S1751637AbWCPGyH (ORCPT ); Thu, 16 Mar 2006 01:54:07 -0500 To: "Yu, Luming" cc: linux-kernel@vger.kernel.org, "Linus Torvalds" , "Andrew Morton" , "Tom Seeley" , "Dave Jones" , "Jiri Slaby" , michael@mihu.de, mchehab@infradead.org, "Brian Marete" , "Ryan Phillips" , gregkh@suse.de, "Brown, Len" , linux-acpi@vger.kernel.org, "Mark Lord" , "Randy Dunlap" , jgarzik@pobox.com, "Duncan" <1i5t5.duncan@cox.net>, "Pavlik Vojtech" , "Meelis Roos" Subject: Re: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT] In-Reply-To: Your message of "Thu, 16 Mar 2006 14:41:27 +0800." <3ACA40606221794F80A5670F0AF15F840B37A678@pdsmsx403> Date: Thu, 16 Mar 2006 06:54:04 +0000 From: Sanjoy Mahajan Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1581 Lines: 51 Okay it's compiling with that change. Now those two methods look like: Method (_PSV, 0, NotSerialized) { /* Store (DerefOf (Index (DerefOf (MODP (0x00)), 0x01)), Local0) */ Return (Local0) } Method (_AC0, 0, NotSerialized) { If (H8DR) { Store (\_SB.PCI0.ISA0.EC0.HT00, Local1) } Else { And (\_SB.RBEC (0x20), 0x01, Local1) } Store (Local1, \_TZ.THM0.AC0M) /* Store (DerefOf (Index (DerefOf (MODP (0x01)), Local1)), Local0) */ Return (Local0) } But I have two worries: 1. The lines that I commented out are not identical (if they are identical in your setup, maybe we have different disassembled DSDT's?). 2. With those lines commented out, the local variables might contain garbage, since those lines initialize them. The iasl compiler also worries about this: thm0-ac0psv-line.dsl 10504: Return (Local0) Error 1013 - Method local variable is not initialized ^ (Local0) thm0-ac0psv-line.dsl 10520: Return (Local0) Error 1013 - Method local variable is not initialized ^ (Local0) Should I change the Return statement to Return(0)? -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. - 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/