summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorValentin Schneider <valentin.schneider@arm.com>2020-07-29 16:57:18 +0300
committerPeter Zijlstra <peterz@infradead.org>2020-07-29 17:14:16 +0300
commitfcd7c9c3c35aed58aba2eea6d375f0e5b03bd6d6 (patch)
tree24252ac0aa19a9ba77525cda06d45e8f1cc854cf /arch/arm64
parent1f73d1abe5836bd8ffe747ff5cb7561b17ce5bc6 (diff)
downloadlinux-fcd7c9c3c35aed58aba2eea6d375f0e5b03bd6d6.tar.xz
arm, arm64: Fix selection of CONFIG_SCHED_THERMAL_PRESSURE
Qian reported that the current setup forgoes the Kconfig dependencies and results in warnings such as: WARNING: unmet direct dependencies detected for SCHED_THERMAL_PRESSURE Depends on [n]: SMP [=y] && CPU_FREQ_THERMAL [=n] Selected by [y]: - ARM64 [=y] Revert commit e17ae7fea871 ("arm, arm64: Select CONFIG_SCHED_THERMAL_PRESSURE") and re-implement it by making the option default to 'y' for arm64 and arm, which respects Kconfig dependencies (i.e. will remain 'n' if CPU_FREQ_THERMAL=n). Fixes: e17ae7fea871 ("arm, arm64: Select CONFIG_SCHED_THERMAL_PRESSURE") Reported-by: Qian Cai <cai@lca.pw> Signed-off-by: Valentin Schneider <valentin.schneider@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200729135718.1871-1-valentin.schneider@arm.com
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index c403e6f5db86..66dc41fd49f2 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -192,7 +192,6 @@ config ARM64
select PCI_SYSCALL if PCI
select POWER_RESET
select POWER_SUPPLY
- select SCHED_THERMAL_PRESSURE
select SPARSE_IRQ
select SWIOTLB
select SYSCTL_EXCEPTION_TRACE