[PATCH] PM: s2idle: Don't allow s2idle when cpuidle isn't supported

Rafael J. Wysocki rafael at kernel.org
Tue Feb 21 07:40:01 PST 2023


On Tue, Feb 14, 2023 at 11:04 PM Kazuki Hashimoto <kazukih0205 at gmail.com> wrote:
>
> s2idle isn't supported on platforms that don't support cpuidle as of
> 31a3409065d1 ("cpuidle / sleep: Do sanity checks in cpuidle_enter_freeze()
> too"), so update the suspend framework to reflect this in order to avoid
> breakages.

Hmm.  Doesn't the cpuidle_not_available() check in cpuidle_idle_call()
trigger then?

The commit mentioned above hasn't changed that AFAICS.



More information about the linux-arm-kernel mailing list