Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754221AbYKZQYl (ORCPT ); Wed, 26 Nov 2008 11:24:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752360AbYKZQYd (ORCPT ); Wed, 26 Nov 2008 11:24:33 -0500 Received: from mga11.intel.com ([192.55.52.93]:2075 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296AbYKZQYc convert rfc822-to-8bit (ORCPT ); Wed, 26 Nov 2008 11:24:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.33,670,1220252400"; d="scan'208";a="643900508" From: "Moore, Robert" To: "Valdis.Kletnieks@vt.edu" CC: "linux-kernel@vger.kernel.org" Date: Wed, 26 Nov 2008 08:24:26 -0800 Subject: RE: 2.6.28-rc6-mmotm1126 - acpi AE_AM_INFINITE_LOOP errors.. Thread-Topic: 2.6.28-rc6-mmotm1126 - acpi AE_AM_INFINITE_LOOP errors.. Thread-Index: AclP4jllddnGHFpQS7Ko0CdKLjXwdAAAQLrQ Message-ID: <4911F71203A09E4D9981D27F9D8308580DBD34C2@orsmsx503.amr.corp.intel.com> References: <4018.1227716135@turing-police.cc.vt.edu> In-Reply-To: <4018.1227716135@turing-police.cc.vt.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9211 Lines: 171 You could try making the max loop count larger, it is a 32-bit value: acconfig.h /* Maximum number of While() loop iterations before forced abort */ -#define ACPI_MAX_LOOP_ITERATIONS 0xFFFF +#define ACPI_MAX_LOOP_ITERATIONS 0x00FFFFFF >-----Original Message----- >From: Valdis.Kletnieks@vt.edu [mailto:Valdis.Kletnieks@vt.edu] >Sent: Wednesday, November 26, 2008 8:16 AM >To: Andrew Morton; Moore, Robert >Cc: linux-kernel@vger.kernel.org >Subject: 2.6.28-rc6-mmotm1126 - acpi AE_AM_INFINITE_LOOP errors.. > >I wasn't seeing these in -rc5-1117. >Am suspecting this commit or related: > >commit 9c8573ca6e35f327d53cb46aba017b95e05d8e08 >Author: Bob Moore >Date: Wed Nov 12 15:15:29 2008 +0800 > > ACPICA: Add a mechanism to escape infinite AML While() loops > > Add a loop counter to force exit from AML While loops if the > count becomes too large. This can occur in poorly written AML > when the hardware does not respond within a while loop and the > loop does not implement a timeout. The maximum loop count is > configurable. A new exception code is returned when a loop is > broken, AE_AML_INFINITE_LOOP. Bob Moore, Alexey Starikovskiy. > > Signed-off-by: Bob Moore > Signed-off-by: Lin Ming > Signed-off-by: Len Brown > >This is a Dell Latitude D820, and didn't seem to have any infinite AML >loops to escape, at least none that I actually hit with previous kernels... > >[ 14.500963] usb 3-1.2: new full speed USB device using uhci_hcd and >address 3 >[ 14.508930] ACPI Error (psparse-0536): Method parse/execution failed >[\SXX6] (Node ffff88007f851a98), AE_AML_INFINITE_LOOP >[ 14.508973] ACPI Error (psparse-0536): Method parse/execution failed >[\SXX4] (Node ffff88007f851a58), AE_AML_INFINITE_LOOP >[ 14.509001] ACPI Error (psparse-0536): Method parse/execution failed >[\SX11] (Node ffff88007f8519f8), AE_AML_INFINITE_LOOP >[ 14.509029] ACPI Error (psparse-0536): Method parse/execution failed >[\_TZ_.THM_.GINF] (Node ffff88007f858858), AE_AML_INFINITE_LOOP >[ 14.509058] ACPI Error (psparse-0536): Method parse/execution failed >[\_TZ_.THM_._TMP] (Node ffff88007f858878), AE_AML_INFINITE_LOOP >.. >[ 14.749476] usb 3-1.2: configuration #1 chosen from 1 choice >[ 15.589404] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 15.603541] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.LID_._LID] (Node ffff88007f8581f8), AE_AML_INFINITE_LOOP >[ 15.617394] ACPI: Lid Switch [LID] >[ 15.632375] input: Power Button (CM) as >/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input6 >[ 15.687289] ACPI: Power Button (CM) [PBTN] >[ 15.702897] input: Sleep Button (CM) as >/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input7 >[ 15.737284] ACPI: Sleep Button (CM) [SBTN] >[ 16.624380] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 16.638972] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.PCI0.AGP_.VID_._DOD] (Node ffff88007f85ded8), AE_AML_INFINITE_LOOP >[ 16.654039] ACPI Exception (video-1638): AE_AML_INFINITE_LOOP, >Evaluating _DOD [20080926] >[ 17.669507] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 17.685120] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.PCI0.AGP_.VID_.LCD_._ADR] (Node ffff88007f85dd58), >AE_AML_INFINITE_LOOP >[ 17.701051] ACPI: Cant attach deviceACPI Error (psparse-0536): Method >parse/execution failed [\SMI_] (Node ffff88007f851238), >AE_AML_INFINITE_LOOP >[ 18.719111] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.PCI0.AGP_.VID_.DVI_._ADR] (Node ffff88007f85dcb8), >AE_AML_INFINITE_LOOP >[ 18.735778] ACPI: Cant attach deviceACPI Error (psparse-0536): Method >parse/execution failed [\SMI_] (Node ffff88007f851238), >AE_AML_INFINITE_LOOP >[ 19.745706] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.PCI0.AGP_.VID_._DOS] (Node ffff88007f85def8), AE_AML_INFINITE_LOOP >[ 19.763195] input: Video Bus as >/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:22/device:23/input/input8 >[ 19.784055] ACPI: Video Device [VID] (multi-head: yes rom: no post: >no) >[ 19.893914] tpm_tis 00:0f: 1.2 TPM (device-id 0x1001, rev-id 2) >[ 20.044222] Real Time Clock Driver v1.12b >[ 23.722937] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 23.741371] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 23.759881] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 25.138613] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 25.157545] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 25.176898] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 26.447172] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 26.467212] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 26.487528] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 27.684304] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 27.704947] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 27.725906] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 28.907380] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 28.928958] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 28.950703] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 30.485112] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 30.507460] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 30.530100] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 30.507460] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 30.530100] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 30.701061] Clocksource tsc unstable (delta = -6082993826 ns) >[ 32.770589] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 32.793800] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 32.817635] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 33.984725] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 34.008812] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 34.033236] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 35.550289] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 35.574761] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 35.599301] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 36.985099] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 37.009318] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 37.034035] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 38.169534] ACPI Error (psparse-0536): Method parse/execution failed >[\SMI_] (Node ffff88007f851238), AE_AML_INFINITE_LOOP >[ 38.193902] ACPI Error (psparse-0536): Method parse/execution failed >[\_SB_.AC__._PSR] (Node ffff88007f8584b8), AE_AML_INFINITE_LOOP >[ 38.218599] ACPI Exception (ac-0135): AE_AML_INFINITE_LOOP, Error >reading AC Adapter state [20080926] >[ 38.323556] EXT3 FS on dm-0, internal journal -- 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/