Re: [PATCH] PM: s2idle: Don't allow s2idle when cpuidle isn't supported
From: Rafael J. Wysocki
Date: Tue Feb 21 2023 - 10:41:31 EST
On Tue, Feb 14, 2023 at 11:04 PM Kazuki Hashimoto <kazukih0205@xxxxxxxxx> 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.