Re: Fwd: ARM64: CPUIdle driver is not select any Idle state other then WFI
Vivek yadav <[email protected]> Tue, 15 Oct 2024 22:23:59 +0530
| Newsgroups | gmane.linux.newbie,gmane.linux.power-management.general |
|---|---|
| Message-ID | <CAO6a-9-_vZqHxdcR7gBGCb=bORBCfujW=ro4-BOM=fZDd68zpA@mail.gmail.com> |
Hi Christian,
> My guess would be that state1 can't be entered, i.e.
> entered_state = target_state->enter(dev, drv, index);
> returns < 0, in that case the sysfs 'rejected' field
> will be incremented instead of usage and time.
> Is that the case for you?
Yes, I checked your guess was correct. ``enter_state`` value equals to Zero.
``#cat /sys/devices/system/cpu/cpu*/cpuidle/state*/rejected``
0 ==> state_0 CPU(0)
0 ==> state_1 CPU(0)
0 ==> state_0 rejected values CPU(1)
600117 ==> state_1 increasing values CPU(1)
0
854505
0
41756644
> In that case your psci description is probably wrong
> and doesn't match your system.
What do you mean by ``psci`` description ?
I have one node in the device tree file.
psci {
compatible = "arm,psci-1.0";
method = "smc";
};
Please find some logs. I am not able to conclude much by seeing the below logs.
#dmesg | grep "PSCI"
psci: PSCIv1.1 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
#dmesg | grep "SMC"
psci: SMC calling Convention v1.2
SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
#dmesg | grep "MIGRATE_INTO_TYPE"
psci: MIGRATE_INTO_TYPE not supported.
Regards,
Vivek