Skip to content

Commit 8976b6f

Browse files
committed
Merge branches 'release' and 'throttling-domains' into release
2 parents 52b097f + 3391a76 commit 8976b6f

5 files changed

Lines changed: 357 additions & 7 deletions

File tree

‎arch/ia64/kernel/acpi-processor.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ static void init_intel_pdc(struct acpi_processor *pr)
4545
buf[0] = ACPI_PDC_REVISION_ID;
4646
buf[1] = 1;
4747
buf[2] = ACPI_PDC_EST_CAPABILITY_SMP;
48+
/*
49+
* The default of PDC_SMP_T_SWCOORD bit is set for IA64 cpu so
50+
* that OSPM is capable of native ACPI throttling software
51+
* coordination using BIOS supplied _TSD info.
52+
*/
53+
buf[2] |= ACPI_PDC_SMP_T_SWCOORD;
4854

4955
obj->type = ACPI_TYPE_BUFFER;
5056
obj->buffer.length = 12;

‎arch/x86/kernel/acpi/processor.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
4646
buf[1] = 1;
4747
buf[2] = ACPI_PDC_C_CAPABILITY_SMP;
4848

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

‎drivers/acpi/processor_core.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,8 @@ static int __init acpi_processor_init(void)
10911091

10921092
acpi_processor_ppc_init();
10931093

1094+
acpi_processor_throttling_init();
1095+
10941096
return 0;
10951097

10961098
out_cpuidle:

0 commit comments

Comments
 (0)