diff options
author | Lv Zheng <lv.zheng@intel.com> | 2017-07-10 03:23:45 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-20 10:38:25 -0400 |
commit | 023e2ee16c51da7f6a9455ac936e4fb00295f47a (patch) | |
tree | 63db362bca4e3a36e63c29d1fdc1a8170a7ad2ab /include/acpi/acpixf.h | |
parent | 04ba15aa55cf16e18757faea55d62d1b7e407fe3 (diff) |
ACPICA: Tables: Change table duplication check to be related to acpi_gbl_verify_table_checksum
ACPICA commit 3d837b5d4b1033942b4d91c7d3801a09c3157918
acpi_gbl_verify_table_checksum is used to avoid validating (mapping) an entire
table in OS boot stage. 2nd "Reload" check in acpi_tb_install_standard_table()
is prepared for the same purpose. So this patch combines them together
using a renamed acpi_gbl_enable_table_validation flag. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/3d837b5d
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index a59c44c3edd8..12dac84c98c9 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -160,13 +160,14 @@ ACPI_INIT_GLOBAL(u8, acpi_gbl_create_osi_method, TRUE); | |||
160 | ACPI_INIT_GLOBAL(u8, acpi_gbl_use_default_register_widths, TRUE); | 160 | ACPI_INIT_GLOBAL(u8, acpi_gbl_use_default_register_widths, TRUE); |
161 | 161 | ||
162 | /* | 162 | /* |
163 | * Whether or not to verify the table checksum before installation. Set | 163 | * Whether or not to validate (map) an entire table to verify |
164 | * this to TRUE to verify the table checksum before install it to the table | 164 | * checksum/duplication in early stage before install. Set this to TRUE to |
165 | * manager. Note that enabling this option causes errors to happen in some | 165 | * allow early table validation before install it to the table manager. |
166 | * OSPMs during early initialization stages. Default behavior is to do such | 166 | * Note that enabling this option causes errors to happen in some OSPMs |
167 | * verification. | 167 | * during early initialization stages. Default behavior is to allow such |
168 | */ | 168 | * validation. |
169 | ACPI_INIT_GLOBAL(u8, acpi_gbl_verify_table_checksum, TRUE); | 169 | */ |
170 | ACPI_INIT_GLOBAL(u8, acpi_gbl_enable_table_validation, TRUE); | ||
170 | 171 | ||
171 | /* | 172 | /* |
172 | * Optionally enable output from the AML Debug Object. | 173 | * Optionally enable output from the AML Debug Object. |