Commit 0406ad33 authored by Alex Chiang's avatar Alex Chiang Committed by Len Brown

ACPI: processor: add kernel command line support for early _PDC eval

Allow platforms not listed in DMI table
to opt-in and evaluate _PDC early.
Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 92dcffb9
...@@ -199,6 +199,10 @@ and is between 256 and 4096 characters. It is defined in the file ...@@ -199,6 +199,10 @@ and is between 256 and 4096 characters. It is defined in the file
acpi_display_output=video acpi_display_output=video
See above. See above.
acpi_early_pdc_eval [HW,ACPI] Evaluate processor _PDC methods
early. Needed on some platforms to properly
initialize the EC.
acpi_irq_balance [HW,ACPI] acpi_irq_balance [HW,ACPI]
ACPI will balance active IRQs ACPI will balance active IRQs
default in APIC mode default in APIC mode
......
...@@ -151,6 +151,13 @@ static int set_early_pdc_optin(const struct dmi_system_id *id) ...@@ -151,6 +151,13 @@ static int set_early_pdc_optin(const struct dmi_system_id *id)
return 0; return 0;
} }
static int param_early_pdc_optin(char *s)
{
early_pdc_optin = 1;
return 1;
}
__setup("acpi_early_pdc_eval", param_early_pdc_optin);
static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = { static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = {
{ {
set_early_pdc_optin, "HP Envy", { set_early_pdc_optin, "HP Envy", {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment