Re: [PATCH] intel_idle: Add ICL support

From: Guilhem Lettron
Date: Wed Aug 26 2020 - 09:34:45 EST


On Wed, 26 Aug 2020 at 15:17, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
>
> On Wed, Aug 26, 2020 at 2:59 PM Guilhem Lettron <guilhem@xxxxxxxxxxx> wrote:
> >
> > On my laptop, a Dell XPS 13 7390 2-in-1 with i7-1065G7, ACPI only report "C1_ACPI", "C2_ACPI" and "C3_ACPI".
>
> Can you list the properties of the idle states in this configuration, that is:
>
> $ grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state1/
>
> and analogously for state2 and state3, and send the output of this?
>
> On my desktop system the above comment produces the following output:
>
> /sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/above:1022634
> /sys/devices/system/cpu/cpu0/cpuidle/state1/time:2556533185
> /sys/devices/system/cpu/cpu0/cpuidle/state1/power:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/residency:2
> /sys/devices/system/cpu/cpu0/cpuidle/state1/latency:2
> /sys/devices/system/cpu/cpu0/cpuidle/state1/usage:17625391
> /sys/devices/system/cpu/cpu0/cpuidle/state1/desc:MWAIT 0x00
> /sys/devices/system/cpu/cpu0/cpuidle/state1/below:6578613
> /sys/devices/system/cpu/cpu0/cpuidle/state1/default_status:enabled
> /sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1
> /sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/time:0
> /sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/usage:0
>
> Thanks!

grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state1/

/sys/devices/system/cpu/cpu0/cpuidle/state1/disable:0
/sys/devices/system/cpu/cpu0/cpuidle/state1/above:524
/sys/devices/system/cpu/cpu0/cpuidle/state1/time:63400881
/sys/devices/system/cpu/cpu0/cpuidle/state1/power:0
/sys/devices/system/cpu/cpu0/cpuidle/state1/residency:1
/sys/devices/system/cpu/cpu0/cpuidle/state1/latency:1
/sys/devices/system/cpu/cpu0/cpuidle/state1/usage:195432
/sys/devices/system/cpu/cpu0/cpuidle/state1/desc:ACPI FFH MWAIT 0x0
/sys/devices/system/cpu/cpu0/cpuidle/state1/below:27374
/sys/devices/system/cpu/cpu0/cpuidle/state1/default_status:enabled
/sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/time:0
/sys/devices/system/cpu/cpu0/cpuidle/state1/s2idle/usage:0

grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state2/

/sys/devices/system/cpu/cpu0/cpuidle/state2/disable:0
/sys/devices/system/cpu/cpu0/cpuidle/state2/above:43616
/sys/devices/system/cpu/cpu0/cpuidle/state2/time:144893598
/sys/devices/system/cpu/cpu0/cpuidle/state2/power:0
/sys/devices/system/cpu/cpu0/cpuidle/state2/residency:759
/sys/devices/system/cpu/cpu0/cpuidle/state2/latency:253
/sys/devices/system/cpu/cpu0/cpuidle/state2/usage:102740
/sys/devices/system/cpu/cpu0/cpuidle/state2/desc:ACPI FFH MWAIT 0x31
/sys/devices/system/cpu/cpu0/cpuidle/state2/below:11351
/sys/devices/system/cpu/cpu0/cpuidle/state2/default_status:enabled
/sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state2/s2idle/time:0
/sys/devices/system/cpu/cpu0/cpuidle/state2/s2idle/usage:0

grep -r '.*' /sys/devices/system/cpu/cpu0/cpuidle/state3/

/sys/devices/system/cpu/cpu0/cpuidle/state3/disable:0
/sys/devices/system/cpu/cpu0/cpuidle/state3/above:18551
/sys/devices/system/cpu/cpu0/cpuidle/state3/time:43225299
/sys/devices/system/cpu/cpu0/cpuidle/state3/power:0
/sys/devices/system/cpu/cpu0/cpuidle/state3/residency:3144
/sys/devices/system/cpu/cpu0/cpuidle/state3/latency:1048
/sys/devices/system/cpu/cpu0/cpuidle/state3/usage:24205
/sys/devices/system/cpu/cpu0/cpuidle/state3/desc:ACPI FFH MWAIT 0x60
/sys/devices/system/cpu/cpu0/cpuidle/state3/below:0
/sys/devices/system/cpu/cpu0/cpuidle/state3/default_status:enabled
/sys/devices/system/cpu/cpu0/cpuidle/state3/name:C3_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state3/s2idle/time:0
/sys/devices/system/cpu/cpu0/cpuidle/state3/s2idle/usage:0

Guilhem Lettron