diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-04-08 02:34:27 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 10:43:16 -0400 |
commit | aa2110cb1a7510f9b834adfb39b05d4843a35d35 (patch) | |
tree | 0dda563bb8a8251fb6f6b878f16598a3901f992f /drivers/acpi/acpica/tbutils.c | |
parent | 43323cb4c4b619414913f54fef9d492aabadd033 (diff) |
ACPI: add boot option acpi=copy_dsdt to fix corrupt DSDT
Some BIOS on Toshiba machines corrupt the DSDT, so add a new
boot option acpi=copy_dsdt to workaround it.
Add warning message to ask users to use this option if corrupt DSDT detected.
Also build a DMI blacklist to check it and automatically copy DSDT.
https://bugzilla.kernel.org/show_bug.cgi?id=14679
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/tbutils.c')
-rw-r--r-- | drivers/acpi/acpica/tbutils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c index 54a8712bae62..a9b105fc2e55 100644 --- a/drivers/acpi/acpica/tbutils.c +++ b/drivers/acpi/acpica/tbutils.c | |||
@@ -373,6 +373,10 @@ void acpi_tb_check_dsdt_header(void) | |||
373 | acpi_tb_print_table_header(0, &acpi_gbl_original_dsdt_header); | 373 | acpi_tb_print_table_header(0, &acpi_gbl_original_dsdt_header); |
374 | acpi_tb_print_table_header(0, acpi_gbl_DSDT); | 374 | acpi_tb_print_table_header(0, acpi_gbl_DSDT); |
375 | 375 | ||
376 | ACPI_ERROR((AE_INFO, | ||
377 | "Please send DMI info to linux-acpi@vger.kernel.org\n" | ||
378 | "If system does not work as expected, please boot with acpi=copy_dsdt")); | ||
379 | |||
376 | /* Disable further error messages */ | 380 | /* Disable further error messages */ |
377 | 381 | ||
378 | acpi_gbl_original_dsdt_header.length = acpi_gbl_DSDT->length; | 382 | acpi_gbl_original_dsdt_header.length = acpi_gbl_DSDT->length; |