Home
last modified time | relevance | path

Searched hist:a0d46a3dfdc3f3d639b3fa84b84a58e116e4bf2c (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/cpuidle/
H A Dcpuidle-arm.ca0d46a3dfdc3f3d639b3fa84b84a58e116e4bf2c Thu Mar 05 15:44:42 UTC 2015 Daniel Lezcano <daniel.lezcano@linaro.org> ARM: cpuidle: Register per cpuidle device

If the cpuidle init cpu operation returns -ENXIO, therefore reporting HW
failure or misconfiguration, the CPUidle driver skips the respective
cpuidle device initialization because the associated platform back-end HW
is not operational.

That prevents the system to crash and allows to handle the error gracefully.

For example, on Qcom's platform, each core has a SPM. The device associated
with this SPM is initialized before the cpuidle framework. If there is an error
in the initialization (eg. error in the DT), the system continues to boot but
in degraded mode as some SPM may not be correctly initialized.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>