]> err.no Git - linux-2.6/commitdiff
Enable P-state software coordination via _PDC
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Wed, 14 Dec 2005 20:05:00 +0000 (15:05 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 9 Feb 2006 08:21:49 +0000 (03:21 -0500)
http://bugzilla.kernel.org/show_bug.cgi?id=5737

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/i386/kernel/acpi/processor.c
arch/x86_64/kernel/acpi/processor.c
include/acpi/pdc_intel.h

index 9f4cc02717ecdfa073e61f23348c72f9e37d7571..b54fded49834ade14daa22ce53418fc501c5653f 100644 (file)
@@ -47,7 +47,7 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
        buf[2] = ACPI_PDC_C_CAPABILITY_SMP;
 
        if (cpu_has(c, X86_FEATURE_EST))
-               buf[2] |= ACPI_PDC_EST_CAPABILITY_SMP;
+               buf[2] |= ACPI_PDC_EST_CAPABILITY_SWSMP;
 
        obj->type = ACPI_TYPE_BUFFER;
        obj->buffer.length = 12;
index 3bdc2baa5bb190bb710286858f7ec14c1615a949..81fcb3f869f20363bbd1b0a0846d082f6d65caa5 100644 (file)
@@ -44,7 +44,7 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
 
        buf[0] = ACPI_PDC_REVISION_ID;
        buf[1] = 1;
-       buf[2] = ACPI_PDC_EST_CAPABILITY_SMP;
+       buf[2] = ACPI_PDC_EST_CAPABILITY_SWSMP;
 
        obj->type = ACPI_TYPE_BUFFER;
        obj->buffer.length = 12;
index 3fa81d55cd0c5210b46e4f6697e0768049bf94be..c5472be6f3a2c41744471e61dafa0386bf038397 100644 (file)
                                         ACPI_PDC_C_C1_HALT | \
                                         ACPI_PDC_P_FFH)
 
+#define ACPI_PDC_EST_CAPABILITY_SWSMP  (ACPI_PDC_SMP_C1PT | \
+                                        ACPI_PDC_C_C1_HALT | \
+                                        ACPI_PDC_SMP_P_SWCOORD | \
+                                        ACPI_PDC_P_FFH)
+
 #define ACPI_PDC_C_CAPABILITY_SMP      (ACPI_PDC_SMP_C2C3 | \
                                         ACPI_PDC_SMP_C1PT | \
                                         ACPI_PDC_C_C1_HALT)