Linux Power Management development
 help / color / mirror / Atom feed
* ARM64: CPUIdle driver is not select any Idle state other then WFI
@ 2024-10-11  9:44 Vivek yadav
  2024-10-14 10:28 ` Fwd: " Vivek yadav
       [not found] ` <CAO6a-98cdSvyd7jgAyGNmsC2nxmRSyr3GppxvZU9yHU1xqwz3g@mail.gmail.com>
  0 siblings, 2 replies; 16+ messages in thread
From: Vivek yadav @ 2024-10-11  9:44 UTC (permalink / raw)
  To: linux-pm

Hi @all,

I am working on one custom SoC. Where I add one CPUIdle state for
``arm,cortex-a55`` processor.

idle-states {
      entry-method = "psci";
       cpu_ret_l: cpu-retention-l {
         compatible = "arm,idle-state";
         arm,psci-suspend-param = <0x00010001>;
         local-timer-stop;
         entry-latency-us = <55>;
          exit-latency-us = <140>;
          min-residency-us = <780>;
    };
};

I am using ``Menu governor`` with the ``psci_idle driver`` in its original form.
After booting Linux I find out that the CPUIdle core is never going
inside the ``cpu-retention`` state.
To check time spent by CPU in any state. I am using the below command.

``cat /sys/devices/system/cpu/cpu*/cpuidle/state*/time``

OUTPUT:
0 ===>CPU0 state0 (WFI)
0 ===>CPU0 state1 (cpu-retention)

increasing some time value ===>CPU1 state0 (WFI)
0 ===>CPU1 state1 (cpu-retention)

increasing some time value
0

increasing some time value
0

What am I doing wrong? Why does ``cpu-retention`` state time not increase?
Any pointer will be helpful.

Regards,
Vivek

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-01-28 11:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11  9:44 ARM64: CPUIdle driver is not select any Idle state other then WFI Vivek yadav
2024-10-14 10:28 ` Fwd: " Vivek yadav
2024-10-14 12:54   ` Christian Loehle
2024-10-14 15:49     ` Vivek yadav
2024-10-15  9:42       ` Christian Loehle
2024-10-15 16:15         ` Vivek yadav
2024-10-15 16:53           ` Vivek yadav
     [not found] ` <CAO6a-98cdSvyd7jgAyGNmsC2nxmRSyr3GppxvZU9yHU1xqwz3g@mail.gmail.com>
2024-12-11  5:50   ` Dhruva Gole
2024-12-11 12:18     ` Sudeep Holla
2024-12-11 14:34       ` Dhruva Gole
2024-12-12 12:46         ` Sudeep Holla
2025-01-27 17:17           ` Vivek yadav
2025-01-28  9:47             ` Sudeep Holla
2025-01-28 11:14               ` Dhruva Gole
2025-01-28 11:52                 ` Sudeep Holla
2025-01-28 11:04           ` Dhruva Gole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox