[lkml]   [2010]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: acpi_idle: Very idle Core i7 machine never enters C3
    What do you see if you apply just the patch below?

    Also, in addition to "powertop -d" to show what the kernel requests,
    please run turbostat to show what the hardware actually did:

    # turbostat -d -v sleep 5

    -Len Brown, Intel Open Source Technology Center

    diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
    index 7c0441f..f528625 100644
    --- a/drivers/acpi/processor_idle.c
    +++ b/drivers/acpi/processor_idle.c
    @@ -763,7 +763,7 @@ static const struct file_operations acpi_processor_power_fops = {
    static int acpi_idle_bm_check(void)
    u32 bm_status = 0;
    +return bm_status;
    acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_STATUS, &bm_status);
    if (bm_status)
    acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_STATUS, 1);

     \ /
      Last update: 2010-02-05 18:47    [W:0.039 / U:9.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site