All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: remove generic ARM cpuidle support
@ 2022-05-29 18:13 ` Michael Walle
  0 siblings, 0 replies; 20+ messages in thread
From: Michael Walle @ 2022-05-29 18:13 UTC (permalink / raw)
  To: Catalin Marinas, Sudeep Holla, Lorenzo Pieralisi, Daniel Lezcano,
	Rafael J . Wysocki, Will Deacon
  Cc: linux-arm-kernel, linux-kernel, linux-pm, Michael Walle

Playing with an own PSCI implementation, I've noticed that the cpuidle-arm
driver doesn't work on arm64. It doesn't probe because since commit
788961462f34 ("ARM: psci: cpuidle: Enable PSCI CPUidle driver") the
arm_cpuidle_init() can only return -EOPNOTSUPP, because the commit removed
the cpu_idle_init and cpu_suspend ops.

It left me puzzled for quite some time. It seems that the cpuidle-psci is
the preferred one and this has been the case for quite some time. The
mentioned commit first appeared in v5.4.

Remove the ARM64 support for the cpuidle-arm driver, which then let us
remove all the supporting arch code.

Michael Walle (2):
  cpuidle: cpuidle-arm: remove arm64 support
  arm64: cpuidle: remove generic cpuidle support

 arch/arm64/include/asm/cpu_ops.h |  9 ---------
 arch/arm64/include/asm/cpuidle.h | 15 ---------------
 arch/arm64/kernel/cpuidle.c      | 29 -----------------------------
 drivers/cpuidle/Kconfig.arm      |  3 ++-
 4 files changed, 2 insertions(+), 54 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-06-23 19:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-29 18:13 [PATCH 0/2] arm64: remove generic ARM cpuidle support Michael Walle
2022-05-29 18:13 ` Michael Walle
2022-05-29 18:13 ` [PATCH 1/2] cpuidle: cpuidle-arm: remove arm64 support Michael Walle
2022-05-29 18:13   ` Michael Walle
2022-05-30 14:32   ` Sudeep Holla
2022-05-30 14:32     ` Sudeep Holla
2022-05-29 18:13 ` [PATCH 2/2] arm64: cpuidle: remove generic cpuidle support Michael Walle
2022-05-29 18:13   ` Michael Walle
2022-05-30 14:33   ` Sudeep Holla
2022-05-30 14:33     ` Sudeep Holla
2022-05-30 15:37 ` [PATCH 0/2] arm64: remove generic ARM " Daniel Lezcano
2022-05-30 15:37   ` Daniel Lezcano
2022-06-22 11:59 ` Michael Walle
2022-06-22 11:59   ` Michael Walle
2022-06-22 14:07   ` Sudeep Holla
2022-06-22 14:07     ` Sudeep Holla
2022-06-23 13:19     ` Will Deacon
2022-06-23 13:19       ` Will Deacon
2022-06-23 19:31 ` Will Deacon
2022-06-23 19:31   ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.