Skip to content

Commit

Permalink
ACPICA: Increase loop limit for AE_AML_INFINITE_LOOP exception
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Oct 20, 2016
1 parent b97acdf commit cacf547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/acpi/acpica/acglobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
2 changes: 1 addition & 1 deletion include/acpi/acconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

/* Maximum number of While() loops before abort */

#define ACPI_MAX_LOOP_COUNT 0xFFFF
#define ACPI_MAX_LOOP_COUNT 0x000FFFFF

/******************************************************************************
*
Expand Down

0 comments on commit cacf547

Please sign in to comment.