mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ACPI: Add acpi_force_32bit_fadt_addr option to force 32 bit FADT addresses
Some HP laptops seem to have invalid 64 bit FADT X_PM* addresses which are causing various boot issues. In these cases, it would be useful to force ACPI to use the valid legacy 32 bit equivalent PM addresses. Add a acpi_force_32bit_fadt_addr to set the ACPICA acpi_gbl_use32_bit_fadt_addresses to TRUE to force this override. Link: https://bugs.launchpad.net/bugs/1529381 Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
75829dcf10
commit
b2ca5dae31
2 changed files with 16 additions and 0 deletions
|
|
@ -484,3 +484,13 @@ static int __init acpi_force_table_verification_setup(char *s)
|
|||
}
|
||||
|
||||
early_param("acpi_force_table_verification", acpi_force_table_verification_setup);
|
||||
|
||||
static int __init acpi_force_32bit_fadt_addr(char *s)
|
||||
{
|
||||
pr_info("Forcing 32 Bit FADT addresses\n");
|
||||
acpi_gbl_use32_bit_fadt_addresses = TRUE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
early_param("acpi_force_32bit_fadt_addr", acpi_force_32bit_fadt_addr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue