• Dave Jones's avatar
    [CPUFREQ] Merge ACPI perflib. · caf8b28d
    Dave Jones authored
    Use ACPI _PSS data to determine valid frequency and voltage pairs on Enhanced
    SpeedStep-capable processors. An original form of such ACPI-PentiumM-cpufreq
    interaction was sent to the cpufreq list by David Moore in June last year; the
    attached patch utilizes his code to set _PDC.
                                                                                                       
    The new ACPI "P-States library" is utilized to obtain the correct frequency
    and MSR value pairs for the speedstep-centrino driver. Only if no such proper
    table exists (!CONFIG_ACPI, broken ACPI tables, etc.), fall back to the
    existing hard-coded table.
                                                                                                       
    If anyone has a better idea for the Kconfig section, please tell me so.
                                                                                                       
    This version of this patch has proper acpi_state setting included, and also
    has a hint in the banner of the centrino_cpu_init_acpi() function, as Jeremey
    Fitzhardinge suggested.
    caf8b28d
speedstep-centrino.c 13.3 KB