From patchwork Tue Dec 10 20:41:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 181169 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp5996956och; Tue, 10 Dec 2019 12:42:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzHzUiCkP5cg6TofddTB5hcrhjlWrvKkDlg2zgVfwDIaK9C8rSUWSs9royaoJFdclAt8dwz X-Received: by 2002:aca:d4ca:: with SMTP id l193mr728634oig.133.1576010545571; Tue, 10 Dec 2019 12:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576010545; cv=none; d=google.com; s=arc-20160816; b=pLHQxphkwiJ8YOuLsF6eVh7AKgOBezGGRkMcgc5ZyKWCkN20wdhaC1oZQujOuFvVW5 EaqDEZocfjmYZPc5dZw7z/mFQ2J8zOpD8P9DoNoBiqixn+w5PVrDejXanoYZjFJBDqS7 hAhjN3BDCSzWIApWWEnsS1xyCkxSdjicM6R7DhPAYvnT11URHTyrqavhgOidAdNXePOh S5mBvtV9V9SK39MBlLDTV86Yh7pxb3tg71fcN4ibjFi0rJkuxTXit0pUEYRLF0Dpz9MA Y295n8XtId20TJcCt4rFRk9PBvr9yRXkiMd5Pamk/Vmtn8bhwePGLfMHQyRQ8rvK0D9k aV/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=37nLooPo1B/x9g3qugPnyOmvUTukHPF8x1pFq/o8J1Y=; b=vhdSEhZz/eWriV51NDhcwmVoKiFXMGmHGyvsSdKGI4gHAnrrZPHS3RQ04lgtLXgVB6 6QpLCcGgwH7H0BQcZMFIYmF/H9gsebuD6c+PvSEwgu6MtE0V9NAWvDza97xE4r9WC7k0 MaotPFIoxuC7uFSZwK3lj5J0uUG/rEGo8hrY0Pp2AWuIukdkgEnKIaZbdNOpTzTbBY2D ABPQXaaSXhQfP+d6hseihituiWmurFNamyTvJWNb1luC6+jikYH16sNF/HM+ChrWiAsS UNyQi7DeTiaTizcdvsEIPexCmCg98CfJ+Orv2J6UtyDCsyUfSv2L/XhUaPc5XPq4hrWN R+rg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x16si103150otp.184.2019.12.10.12.42.25; Tue, 10 Dec 2019 12:42:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbfLJUmY (ORCPT + 10 others); Tue, 10 Dec 2019 15:42:24 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:48729 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbfLJUmY (ORCPT ); Tue, 10 Dec 2019 15:42:24 -0500 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1N5FxN-1hgnme1lkD-011BkA; Tue, 10 Dec 2019 21:42:17 +0100 From: Arnd Bergmann To: Daniel Lezcano , Zhang Rui , Eduardo Valentin Cc: Arnd Bergmann , Amit Kucheria , Viresh Kumar , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal: add dependency for THERMAL_DEFAULT_GOV_POWER_ALLOCATOR Date: Tue, 10 Dec 2019 21:41:37 +0100 Message-Id: <20191210204216.3239987-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:UYu9Yni7N+axnXFBFKI7TF3Khq4E0zNO6t7XpHvIy+uL7OGK6Cd 5NA/a3BBvmuRR20iitPteWhaA/3BRnlDjx9zMWwph2rGDSYkyfvVyHzwWqjERScPc0SckLG Dp9SqOMkWyR3g/3jkI5GeibvffS4bIV8/2fZthX/F8KFVnnOvnpdX9oNVl8MCAN53uPYAVt AbhTDhT0x6gV6nX7UTWaw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:0W0aQrU20D8=:9k/tKOypgaOBDi+mJIVO9n pDYftY82Zwgm60B47DDddGWbYGoqWdj20qtgGuRRmZ5ahMufyZhBX8R5N5QOG6wBRtsa464+K XwOCGu4FMFYSw4hwVPItQvU7XgaiajYOqzLJHJfrkJoUwtiWablnA8WtQ4VuvQRL3ToGLYc1I rB2SUHsGyHEHXwBT+jW0nAgrqg8AWcPw3NOh3GOlXFzSbLKIG3/4qdqWOSstGLolNXi5sIYrg oA3hXC43FtUtoOTYys9yg0HqYFkeEOCo8Yx0DcKMbVOiMuiQdXAGiO4t/nc3QyQC/sGOrnISc jIplDs96G22F/BigbOzM/aAYi70Ds14pqmTIGIIITKcL83U0gLAJ53cI2cPYexa9HX3DK2XBT UsQ/IOYrlwJTONGCfXrRQuSy/Hw1ZQJ+esWt4XULb3o79k1p6PbzwG+jHkEH+074sNyzhcqfH ns8CmveRE537j8mhQtV9k+bZPYSmdGsWbVY8uhUZpaUkdqkMgZ8H9uXog4Iw1n/NhZ4R5NuOc kmokw6XGMzNvg8LP4qiraJ/ZGPLq+Cr1CPqHtD3r8WRU5JSMsJhp0hovlEuYs3cZs0SHaoVs0 l4++TqqBrskehaoR/qGzxSOHKLqaMP9cUTSgU5Ll1fdb/5RxjGaunKWvb+w7l33goNhMczPZC zWekbbaoC1lJY94zIsh4kkfyrqA787JRJNfcTB9JhRTk0MYyEMRwAtaEN+y/9zGOCWJv9LjjG LLHxzW6uAXs7plRFgSTMVJsc52+cRfY8m+49Q+aIumamQbL0pucwpCgjDPZzSVFUi8HqrBWd1 uzCbe4LYdydX074P/xbK1zZxX57RPCOr/XKImvT+ODT2OW2uQN674q/fLegVtz+2cmd6ggGz5 FZPwcR4fQsiCHo46VsQQ== Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The THERMAL_GOV_POWER_ALLOCATOR symbol requires CONFIG_ENERGY_MODEL: WARNING: unmet direct dependencies detected for THERMAL_GOV_POWER_ALLOCATOR Depends on [n]: THERMAL [=y] && ENERGY_MODEL [=n] Selected by [y]: - THERMAL_DEFAULT_GOV_POWER_ALLOCATOR [=y] && Add this as a dependency for THERMAL_DEFAULT_GOV_POWER_ALLOCATOR to avoid creating invalid configurations. Signed-off-by: Arnd Bergmann --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 59b79fc48266..712bcd668a4d 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -109,6 +109,7 @@ config THERMAL_DEFAULT_GOV_USER_SPACE config THERMAL_DEFAULT_GOV_POWER_ALLOCATOR bool "power_allocator" select THERMAL_GOV_POWER_ALLOCATOR + depends on ENERGY_MODEL help Select this if you want to control temperature based on system and device power allocation. This governor can only