[PATCH 0/2] s2idle fixes for systems without cpuidle

From: Kazuki Hashimoto
Date: Tue Jul 11 2023 - 01:54:30 EST


Changes in V2:
Redo implementation following input from Hector Martin

Changes in V3:
Rewrite commit message following input from Rafael J. Wysocki

---
Kazuki Hashimoto (2):
cpuidle: Don't pass any values to cpuidle_not_available
PM: s2idle: Fully prevent the system from entering s2idle when cpuidle isn't supported

drivers/cpuidle/cpuidle.c | 6 ++++--
include/linux/cpuidle.h | 6 ++----
kernel/power/main.c | 12 +++++++++---
kernel/power/suspend.c | 5 +++++
kernel/sched/idle.c | 2 +-
5 files changed, 21 insertions(+), 10 deletions(-)
---
base-commit: 8fc3b8f082cc2f5faa6eae315b938bc5e79c332e
change-id: 20230709-cpuidle-8c5469788f77

Best regards,
--
Kazuki Hashimoto <kazukih0205@xxxxxxxxx>