Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1489727 > unrolled thread

[PATCH v5 5/5] ACPI 2.0 / AML: Fix module level execution by correctly parsing table as TermList

Started byLv Zheng <lv.zheng@intel.com>
First post2016-09-23 05:30 +0200
Last post2016-09-23 05:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v5 5/5] ACPI 2.0 / AML: Fix module level execution by correctly parsing table as TermList Lv Zheng <lv.zheng@intel.com> - 2016-09-23 05:30 +0200

#1489727 — [PATCH v5 5/5] ACPI 2.0 / AML: Fix module level execution by correctly parsing table as TermList

FromLv Zheng <lv.zheng@intel.com>
Date2016-09-23 05:30 +0200
Subject[PATCH v5 5/5] ACPI 2.0 / AML: Fix module level execution by correctly parsing table as TermList
Message-ID<skplv-6JY-11@gated-at.bofh.it>
This experiment follows de-facto standard behavior, parsing entire
table as a single TermList, so that all module level executions are
possible during the table loading.

If regressions are found against the enabling of this experimental fix,
this patch is the only one that should get bisected out. Please report
the regressions to the kernel bugzilla for further root causing.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 include/acpi/acpixf.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 169ec81..2e22eae 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -196,10 +196,9 @@ ACPI_INIT_GLOBAL(u8, acpi_gbl_group_module_level_code, FALSE);
 
 /*
  * Optionally support module level code by parsing the entire table as
- * a term_list. Default is FALSE, do not execute entire table until some
- * lock order issues are fixed.
+ * a term_list. Default is TRUE, do execute entire table.
  */
-ACPI_INIT_GLOBAL(u8, acpi_gbl_parse_table_as_term_list, FALSE);
+ACPI_INIT_GLOBAL(u8, acpi_gbl_parse_table_as_term_list, TRUE);
 
 /*
  * Optionally use 32-bit FADT addresses if and when there is a conflict
-- 
1.7.10

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web