Skip to content

Commit

Permalink
mvebu: build kernel with CONFIG_CPU_FREQ_THERMAL=y
Browse files Browse the repository at this point in the history
CONFIG_CPU_THERMAL doesn't make much sense without either
CONFIG_CPU_FREQ_THERMAL or CPU_IDLE_THERMAL being set as well.

While prior to Linux 5.10 there has been only CONFIG_CPU_THERMAL, with
Linux 5.10 and after the new options have been introduced and were
disabled by default.

Set CONFIG_CPU_FREQ_THERMAL for mvebu which has support for cpufreq to
allow throtteling as a last resort before thermal-triggered shutdown.

Fixes: b10d604 ("kernel: add linux 5.10 support")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Apr 6, 2024
1 parent 1d7e35d commit bea5905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/mvebu/config-6.1
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_THERMAL=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
Expand Down
1 change: 1 addition & 0 deletions target/linux/mvebu/config-6.6
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_THERMAL=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
Expand Down

0 comments on commit bea5905

Please sign in to comment.