Fwd: ARM64: CPUIdle driver is not select any Idle state other then WFI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ---------
From: Vivek yadav <linux.ninja23@xxxxxxxxx>
Date: Fri, Oct 11, 2024 at 3:14 PM
Subject: ARM64: CPUIdle driver is not select any Idle state other then WFI
To: <linux-pm@xxxxxxxxxxxxxxx>


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





[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux