Skip to content

Commit 48da6f8

Browse files
Quentin Perretdlezcano
authored andcommitted
arm64: defconfig: Enable CONFIG_ENERGY_MODEL
The recently introduced Energy Model (EM) framework manages power cost tables for the CPUs of the system. Its only user right now is the scheduler, in the context of Energy Aware Scheduling (EAS). However, the EM framework also offers a generic infrastructure that could replace subsystem-specific implementations of the same concepts, as this is the case in the thermal framework. So, in order to prepare the migration of the thermal subsystem to use the EM framework, enable it in the default arm64 defconfig, which is the most commonly used architecture for IPA. This will also compile-in all of the EAS code, although it won't be enabled by default -- EAS requires to use the 'schedutil' CPUFreq governor while arm64 defaults to 'performance'. Acked-by: Daniel Lezcano <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Quentin Perret <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f0a353b commit 48da6f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ CONFIG_COMPAT=y
7171
CONFIG_RANDOMIZE_BASE=y
7272
CONFIG_HIBERNATION=y
7373
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
74+
CONFIG_ENERGY_MODEL=y
7475
CONFIG_ARM_CPUIDLE=y
7576
CONFIG_ARM_PSCI_CPUIDLE=y
7677
CONFIG_CPU_FREQ=y

0 commit comments

Comments
 (0)