[PATCH v3 24/24] cpuidle: riscv-sbi: Drop redundant sync_state support

Rahul Pathak rpathak at ventanamicro.com
Fri Jul 4 03:39:27 PDT 2025


On Tue, Jul 1, 2025 at 5:23 PM Ulf Hansson <ulf.hansson at linaro.org> wrote:
>
> 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 at brainfault.org>
> Cc: linux-riscv at lists.infradead.org
> Tested-by: Hiago De Franco <hiago.franco at toradex.com> # Colibri iMX8X
> Tested-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com> # TI AM62A,Xilinx ZynqMP ZCU106
> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
> ---
>  drivers/cpuidle/cpuidle-riscv-sbi.c | 22 +---------------------
>  1 file changed, 1 insertion(+), 21 deletions(-)
>

LGTM

Reviewed-by: Rahul Pathak <rpathak at ventanamicro.com>



More information about the linux-arm-kernel mailing list