[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200730102348.GF25149@gaia>
Date: Thu, 30 Jul 2020 11:23:49 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Valentin Schneider <valentin.schneider@....com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-pm@...r.kernel.org, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Quentin Perret <qperret@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Viresh Kumar <viresh.kumar@...aro.org>,
Amit Daniel Kachhap <amit.kachhap@...il.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Russell King <linux@...linux.org.uk>,
Thara Gopinath <thara.gopinath@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Qian Cai <cai@....pw>, Sudeep Holla <sudeep.holla@....com>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH] arm, arm64: Fix selection of
CONFIG_SCHED_THERMAL_PRESSURE
On Wed, Jul 29, 2020 at 02:57:18PM +0100, Valentin Schneider wrote:
> 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@....pw>
> Signed-off-by: Valentin Schneider <valentin.schneider@....com>
> ---
> arch/arm/Kconfig | 1 -
> arch/arm64/Kconfig | 1 -
> init/Kconfig | 2 ++
> 3 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Catalin Marinas <catalin.marinas@....com>
Powered by blists - more mailing lists