diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-07-07 14:58:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-07-29 18:38:30 +0200 |
commit | 4b072cd6ace3fcc5fd0688980a74592a7ddee5e5 (patch) | |
tree | 544db595bd41cb3f69a4492255fe72c01b882a1c /drivers/cpuidle/cpuidle-psci.h | |
parent | 0317561912d90cf06457c255351549576953704d (diff) | |
download | linux-4b072cd6ace3fcc5fd0688980a74592a7ddee5e5.tar.gz |
cpuidle: psci: Fail cpuidle registration if set OSI mode failed
Currently we allow the cpuidle driver registration to succeed, even if we
failed to enable the OSI mode when the hierarchical DT layout is used. This
means running in a degraded mode, by using the available idle states per
CPU, while also preventing the domain idle states.
Moving forward, this behaviour looks quite questionable to maintain, as
complexity seems to grow around it, especially when trying to add support
for deferred probe, for example.
Therefore, let's make the cpuidle driver registration to fail in this
situation, thus relying on the default architectural cpuidle backend for
WFI to be used.
Reviewed-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle-psci.h')
0 files changed, 0 insertions, 0 deletions