diff options
-rw-r--r-- | Documentation/kernel-parameters.txt | 8 | ||||
-rw-r--r-- | drivers/acpi/osl.c | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 7116fda7077f..bf0fda0125f0 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -231,6 +231,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
231 | 231 | ||
232 | acpi_no_auto_ssdt [HW,ACPI] Disable automatic loading of SSDT | 232 | acpi_no_auto_ssdt [HW,ACPI] Disable automatic loading of SSDT |
233 | 233 | ||
234 | acpica_no_return_repair [HW, ACPI] | ||
235 | Disable AML predefined validation mechanism | ||
236 | This mechanism can repair the evaluation result to make | ||
237 | the return objects more ACPI specification compliant. | ||
238 | This option is useful for developers to identify the | ||
239 | root cause of an AML interpreter issue when the issue | ||
240 | has something to do with the repair mechanism. | ||
241 | |||
234 | acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS | 242 | acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS |
235 | Format: To spoof as Windows 98: ="Microsoft Windows" | 243 | Format: To spoof as Windows 98: ="Microsoft Windows" |
236 | 244 | ||
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index fc1aa7909690..0d7b7145399e 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1780,6 +1780,17 @@ static int __init acpi_no_auto_ssdt_setup(char *s) | |||
1780 | 1780 | ||
1781 | __setup("acpi_no_auto_ssdt", acpi_no_auto_ssdt_setup); | 1781 | __setup("acpi_no_auto_ssdt", acpi_no_auto_ssdt_setup); |
1782 | 1782 | ||
1783 | static int __init acpi_disable_return_repair(char *s) | ||
1784 | { | ||
1785 | printk(KERN_NOTICE PREFIX | ||
1786 | "ACPI: Predefined validation mechanism disabled\n"); | ||
1787 | acpi_gbl_disable_auto_repair = TRUE; | ||
1788 | |||
1789 | return 1; | ||
1790 | } | ||
1791 | |||
1792 | __setup("acpica_no_return_repair", acpi_disable_return_repair); | ||
1793 | |||
1783 | acpi_status __init acpi_os_initialize(void) | 1794 | acpi_status __init acpi_os_initialize(void) |
1784 | { | 1795 | { |
1785 | acpi_os_map_generic_address(&acpi_gbl_FADT.xpm1a_event_block); | 1796 | acpi_os_map_generic_address(&acpi_gbl_FADT.xpm1a_event_block); |