From patchwork Mon Oct 17 19:03:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lv Zheng X-Patchwork-Id: 9380241 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CF898600CA for ; Mon, 17 Oct 2016 19:04:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6C3628D53 for ; Mon, 17 Oct 2016 19:04:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB29828D5E; Mon, 17 Oct 2016 19:04:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10BE928D53 for ; Mon, 17 Oct 2016 19:04:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933206AbcJQTDr (ORCPT ); Mon, 17 Oct 2016 15:03:47 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33395 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935162AbcJQTDg (ORCPT ); Mon, 17 Oct 2016 15:03:36 -0400 Received: by mail-qt0-f193.google.com with SMTP id m5so6536109qtb.0 for ; Mon, 17 Oct 2016 12:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C4Nff9eJF/lIePbKufvQ1SeH0mSEX6BwX2lwQ3fABRo=; b=N1ivbcEnz0gd+XVeoEDIlYxvYd6xevCXECFYUKGPqXTNW4rl+nPdpDB0n51GEKCCld xwbW5ELMaG/Cgx9Eoh1VbKX8eLduIRT9ZIVNqD8KAYAIb4lCpevF4XsYcfFZ62Y4+1sa YNSLVGheHRH8XRgyK/3BQ2Y/7IHXp9rsKHO7utVNCow581vxy9HuSyuJCJtNiKEM2+Yx hEOuiaIoWpeKDNE/EivoJBQQ2WoynMXYcrk1qQEgx+AW7FA/q6MX95aMw+YnMBBqkfW7 yciupZm2rCRsXkUiE5Ur6oncW8j4oG4q/60xyR2UbdQl/CCwwaa7ijooTSfXeILvyFKd nEzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C4Nff9eJF/lIePbKufvQ1SeH0mSEX6BwX2lwQ3fABRo=; b=jQIrGqzOMx+5ZdW4+YNRZ5tZVbiYLIYIA2VLEcEgC7yYPZaWiFMgoPkNV48GkOc1B1 jiEcQy6UA7UqUpGCPD7Ji+UzYWHrTTFiH5+jJNEE9fKQZgnl5YxcUiET2E3vb5GyM7F1 mv2jFWVVzPPPoZMxBE55B0GbaJf2WPdKPB1Z1bavOHtbM6dPk8jilwPnPBPzXaiMz3Nl CvcVu2DhLZufKD2y42AJwyHkKD1UBNLR50sHW2Ht56CYwUbW/YvUMwy9ngO3hb21ZjvI HipypXTxX4rH+zMV6x9QKVEQO+1McVtGbKNIVHkhWb10Lmvt2FBL/iL/7elu/bR4cRYt YksQ== X-Gm-Message-State: AA6/9RkvqBslxDtYxXhRMKqUjHnEDoQk7j6u4Z6eSJ/qeG3EfX1IGntDhIJmBipnoFc53Q== X-Received: by 10.200.37.120 with SMTP id 53mr24167918qtn.44.1476731015152; Mon, 17 Oct 2016 12:03:35 -0700 (PDT) Received: from localhost.localdomain (h3.246.129.40.static.ip.windstream.net. [40.129.246.3]) by smtp.gmail.com with ESMTPSA id d127sm3921476qkf.24.2016.10.17.12.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Oct 2016 12:03:34 -0700 (PDT) From: Lv Zheng X-Google-Original-From: Lv Zheng To: "Rafael J . Wysocki" , "Rafael J . Wysocki" , Robert Moore , Len Brown , Lv Zheng , "David E . Box" Cc: linux-acpi@vger.kernel.org Subject: [PATCH 4/7] ACPICA: Increase loop limit for AE_AML_INFINITE_LOOP exception Date: Tue, 18 Oct 2016 03:03:19 +0800 Message-Id: <1dbbf4f310e3946a0daf1b7962808dfc3a5c5327.1476725675.git.lv.zheng@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bob Moore ACPICA commit 9f83b34cb172549c20f18663bc7460fb4145a75b increase loop limit to accomodate faster processors. From 64k loops max to 1 million. Link: https://github.com/acpica/acpica/commit/9f83b34c Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/acglobal.h | 2 +- include/acpi/acconfig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index 750fa82..17f7bb8 100644 --- a/drivers/acpi/acpica/acglobal.h +++ b/drivers/acpi/acpica/acglobal.h @@ -242,7 +242,7 @@ ACPI_GLOBAL(struct acpi_thread_state *, acpi_gbl_current_walk_list); /* Maximum number of While() loop iterations before forced abort */ -ACPI_GLOBAL(u16, acpi_gbl_max_loop_iterations); +ACPI_GLOBAL(u32, acpi_gbl_max_loop_iterations); /* Control method single step flag */ diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h index 12c2882..d25da93 100644 --- a/include/acpi/acconfig.h +++ b/include/acpi/acconfig.h @@ -146,7 +146,7 @@ /* Maximum number of While() loops before abort */ -#define ACPI_MAX_LOOP_COUNT 0xFFFF +#define ACPI_MAX_LOOP_COUNT 0x000FFFFF /****************************************************************************** *