]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpuidle: riscv-sbi: Drop redundant sync_state support
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 1 Jul 2025 11:47:26 +0000 (13:47 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2025 11:30:06 +0000 (13:30 +0200)
commiteb34a0b5fee736c559404691b4c3ec48c5375a8c
tree2aed2d97c98a9bcf2ee18afdf21640f9e0adb38b
parent039d2b0a1b6222c2f964de827368e87e286ae554
cpuidle: riscv-sbi: Drop redundant sync_state support

The recent updates to the genpd core, can entirely manage the sync_state
support for the cpuidle-riscv-sbi-domain. More precisely, genpd prevents
our ->power_off() callback from being invoked, until all of our consumers
are ready for it.

Let's therefore drop the sync_state support for the
cpuidle-riscv-sbi-domain as it has become redundant.

Cc: Anup Patel <anup@brainfault.org>
Cc: linux-riscv@lists.infradead.org
Tested-by: Hiago De Franco <hiago.franco@toradex.com> # Colibri iMX8X
Tested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> # TI AM62A,Xilinx ZynqMP ZCU106
Reviewed-by: Rahul Pathak <rpathak@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250701114733.636510-25-ulf.hansson@linaro.org
drivers/cpuidle/cpuidle-riscv-sbi.c