ACPICA: Increase loop limit for AE_AML_INFINITE_LOOP exception
authorBob Moore <robert.moore@intel.com>
Mon, 17 Oct 2016 19:03:19 +0000 (03:03 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Oct 2016 23:33:39 +0000 (01:33 +0200)
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 <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acglobal.h
include/acpi/acconfig.h

index 750fa824d42c4b6d38fc07a566cca8ea2300982c..17f7bb8f9d93083312395199984020e991d8c82e 100644 (file)
@@ -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 */
 
index 12c2882bf6472bf0d9a3f90678742074ee1a4862..d25da936750e7df39af2c07605b313d636346b91 100644 (file)
 
 /* Maximum number of While() loops before abort */
 
-#define ACPI_MAX_LOOP_COUNT             0xFFFF
+#define ACPI_MAX_LOOP_COUNT             0x000FFFFF
 
 /******************************************************************************
  *