Skip to content

Commit

Permalink
Merge branches 'release' and 'throttling-domains' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
lenb committed Feb 7, 2008
2 parents 52b097f + 3391a76 commit 8976b6f
Show file tree
Hide file tree
Showing 5 changed files with 357 additions and 7 deletions.
6 changes: 6 additions & 0 deletions arch/ia64/kernel/acpi-processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ static void init_intel_pdc(struct acpi_processor *pr)
buf[0] = ACPI_PDC_REVISION_ID;
buf[1] = 1;
buf[2] = ACPI_PDC_EST_CAPABILITY_SMP;
/*
* The default of PDC_SMP_T_SWCOORD bit is set for IA64 cpu so
* that OSPM is capable of native ACPI throttling software
* coordination using BIOS supplied _TSD info.
*/
buf[2] |= ACPI_PDC_SMP_T_SWCOORD;

obj->type = ACPI_TYPE_BUFFER;
obj->buffer.length = 12;
Expand Down
6 changes: 6 additions & 0 deletions arch/x86/kernel/acpi/processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
buf[1] = 1;
buf[2] = ACPI_PDC_C_CAPABILITY_SMP;

/*
* The default of PDC_SMP_T_SWCOORD bit is set for intel x86 cpu so
* that OSPM is capable of native ACPI throttling software
* coordination using BIOS supplied _TSD info.
*/
buf[2] |= ACPI_PDC_SMP_T_SWCOORD;
if (cpu_has(c, X86_FEATURE_EST))
buf[2] |= ACPI_PDC_EST_CAPABILITY_SWSMP;

Expand Down
2 changes: 2 additions & 0 deletions drivers/acpi/processor_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,8 @@ static int __init acpi_processor_init(void)

acpi_processor_ppc_init();

acpi_processor_throttling_init();

return 0;

out_cpuidle:
Expand Down
Loading

0 comments on commit 8976b6f

Please sign in to comment.