In message: [kernel-cache][yocto-6.18][master][PATCH v2 31/38] arm.scc: move ARM_CPUIDLE to arm only on 29/01/2026 Mikko Rapeli wrote:
> arm64 supports CPU_IDLE directly and ARM_CPUIDLE > gets disabled. This conditional makes sense to me, since it is potentially included from common / standard .scc files. Bruce > > Signed-off-by: Mikko Rapeli <[email protected]> > --- > features/power/arm.cfg | 7 +------ > features/power/arm.scc | 7 ++++++- > features/power/arm_common.cfg | 7 +++++++ > 3 files changed, 14 insertions(+), 7 deletions(-) > create mode 100644 features/power/arm_common.cfg > > diff --git a/features/power/arm.cfg b/features/power/arm.cfg > index e557fcc44b67..7961513f3915 100644 > --- a/features/power/arm.cfg > +++ b/features/power/arm.cfg > @@ -1,8 +1,3 @@ > # SPDX-License-Identifier: MIT > -# To enable cpu idle and frequency scaling with the least set, as for others > we > -# leave them to the end user, like which governor for idle or scaling > - > -CONFIG_CPU_IDLE=y > +# 32 bit arm only > CONFIG_ARM_CPUIDLE=y > -CONFIG_CPU_FREQ=y > -CONFIG_CPUFREQ_DT=y > diff --git a/features/power/arm.scc b/features/power/arm.scc > index d10c35717919..b98dbf6ba628 100644 > --- a/features/power/arm.scc > +++ b/features/power/arm.scc > @@ -2,4 +2,9 @@ > define KFEATURE_DESCRIPTION "Enable ARM/ARM64 Power Management options" > define KFEATURE_COMPATIBILITY board > > -kconf non-hardware arm.cfg > +kconf non-hardware arm_common.cfg > + > +# 32 bit arm > +if [ "$KARCH" = "arm" ]; then > + kconf hardware arm.cfg > +fi > diff --git a/features/power/arm_common.cfg b/features/power/arm_common.cfg > new file mode 100644 > index 000000000000..0744c889eeaf > --- /dev/null > +++ b/features/power/arm_common.cfg > @@ -0,0 +1,7 @@ > +# SPDX-License-Identifier: MIT > +# To enable cpu idle and frequency scaling with the least set, as for others > we > +# leave them to the end user, like which governor for idle or scaling > + > +CONFIG_CPU_IDLE=y > +CONFIG_CPU_FREQ=y > +CONFIG_CPUFREQ_DT=y > -- > 2.34.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16319): https://lists.yoctoproject.org/g/linux-yocto/message/16319 Mute This Topic: https://lists.yoctoproject.org/mt/117525181/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
