diff options
| author | Alex Chiang <achiang@hp.com> | 2010-01-20 02:06:30 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2010-01-22 12:39:21 -0500 |
| commit | 0406ad336c066190770cbf350b552d608e43ed09 (patch) | |
| tree | df28a11d63cfb489cf2db4d30bc65335668a66d9 | |
| parent | 92dcffb916d309aa01778bf8963a6932e4014d07 (diff) | |
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: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
| -rw-r--r-- | Documentation/kernel-parameters.txt | 4 | ||||
| -rw-r--r-- | drivers/acpi/processor_pdc.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 736d45602886..826b6e148316 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
| @@ -199,6 +199,10 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 199 | acpi_display_output=video | 199 | acpi_display_output=video |
| 200 | See above. | 200 | See above. |
| 201 | 201 | ||
| 202 | acpi_early_pdc_eval [HW,ACPI] Evaluate processor _PDC methods | ||
| 203 | early. Needed on some platforms to properly | ||
| 204 | initialize the EC. | ||
| 205 | |||
| 202 | acpi_irq_balance [HW,ACPI] | 206 | acpi_irq_balance [HW,ACPI] |
| 203 | ACPI will balance active IRQs | 207 | ACPI will balance active IRQs |
| 204 | default in APIC mode | 208 | default in APIC mode |
diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_pdc.c index 7247819dbd80..3bbafe9576ae 100644 --- a/drivers/acpi/processor_pdc.c +++ b/drivers/acpi/processor_pdc.c | |||
| @@ -151,6 +151,13 @@ static int set_early_pdc_optin(const struct dmi_system_id *id) | |||
| 151 | return 0; | 151 | return 0; |
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | static int param_early_pdc_optin(char *s) | ||
| 155 | { | ||
| 156 | early_pdc_optin = 1; | ||
| 157 | return 1; | ||
| 158 | } | ||
| 159 | __setup("acpi_early_pdc_eval", param_early_pdc_optin); | ||
| 160 | |||
| 154 | static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = { | 161 | static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = { |
| 155 | { | 162 | { |
| 156 | set_early_pdc_optin, "HP Envy", { | 163 | set_early_pdc_optin, "HP Envy", { |
