Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1447880ybe; Wed, 11 Sep 2019 15:23:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+f3I4IosuJbdcjI+zg9RlGHbYvVfMfFD0fNQ64qr8hZGv2bDA2V+Vh03lW8WVPWrowceA X-Received: by 2002:a50:ec84:: with SMTP id e4mr39777683edr.193.1568240591545; Wed, 11 Sep 2019 15:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568240591; cv=none; d=google.com; s=arc-20160816; b=tumX3bnwgjWMdjTKnchhXHlzY8y9E6nd2AHyrFDCy+JXRF65G2EN+jg3ejqjlgCEbS +nKzCtqajaqCLdbUc7mQz908C7/o+RxKQBAs95kPbietRh3LkQLQKvqE11ZYEv6Jd0lN 1/beKSItUG+AgPjpSwTzEDqHUfHbzE+MTdHxPaSjJQHzflyABdcPfQcpNfX3kZPuYO5B ECEJotezo8W8+Sb75El4ZT1ZlDf53C00a1pOU5wrU818sz7itXTUd8O34y4T7Wh4QZxo t7ZRIoRrfvlOBDUO8UrYFvOfhv+LhOczeoXBqkJZT3zA1atc4zE3locwKrwsva7/T8PN habw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=zsRV2QQt2vwGwhducf0++6jrS2X2iVPnsFBRkCzBg3w=; b=0lVjmwe2x1tIHCAQ6z8J8WLXp6Mx+5aPbMDih604glUeS1h1E/BYjPT/JbJJF1xL8J wPdmLVrd2PLKzGu22xKjf0+QYjlv53KfJoEqta1bxYlHwBSGQtYuexFM5ny3ZJivTWE3 OAdEf9a0JnPNf1O5k9oKaFgZ9tP37J9WegXyyzfFc+twTEjLmRXYDki73jPuGbJu/S1R G19vwZf2hx0fzAtIDh5YwxhZwWR3vM10jNPXIEV45hlrm0zOcgMStw+Ir/StpmVwJ73t JU5zNLPYo2wZkysLcbQ/Wi5eK9ZIHSlbxDqb+nxm8ZdPPx0480Wace7hPikGC9BUZUrO EJlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 b9si3918006edj.0.2019.09.11.15.22.48; Wed, 11 Sep 2019 15:23:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730475AbfIKUJB (ORCPT + 99 others); Wed, 11 Sep 2019 16:09:01 -0400 Received: from 2.mo3.mail-out.ovh.net ([46.105.75.36]:44502 "EHLO 2.mo3.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728808AbfIKUJA (ORCPT ); Wed, 11 Sep 2019 16:09:00 -0400 X-Greylist: delayed 25202 seconds by postgrey-1.27 at vger.kernel.org; Wed, 11 Sep 2019 16:09:00 EDT Received: from player168.ha.ovh.net (unknown [10.108.42.239]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id E11EB21F5BB for ; Wed, 11 Sep 2019 15:03:51 +0200 (CEST) Received: from qperret.net (115.ip-51-255-42.eu [51.255.42.115]) (Authenticated sender: qperret@qperret.net) by player168.ha.ovh.net (Postfix) with ESMTPSA id 7EBCF997FDF2; Wed, 11 Sep 2019 13:03:35 +0000 (UTC) From: Quentin Perret To: edubezval@gmail.com, rui.zhang@intel.com, javi.merino@kernel.org, viresh.kumar@linaro.org, amit.kachhap@gmail.com, rjw@rjwysocki.net, catalin.marinas@arm.com, will@kernel.org, daniel.lezcano@linaro.org Cc: dietmar.eggemann@arm.com, ionela.voinescu@arm.com, mka@chromium.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, qperret@qperret.net Subject: [PATCH v8 1/4] arm64: defconfig: Enable CONFIG_ENERGY_MODEL Date: Wed, 11 Sep 2019 15:03:11 +0200 Message-Id: <20190911130314.29973-2-qperret@qperret.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190911130314.29973-1-qperret@qperret.net> References: <20190911130314.29973-1-qperret@qperret.net> X-Ovh-Tracer-Id: 17345332493490281465 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrtdefgdeffecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecu Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Quentin Perret 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 Acked-by: Viresh Kumar Signed-off-by: Quentin Perret --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0e58ef02880c..ad0e4944a71f 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -71,6 +71,7 @@ CONFIG_COMPAT=y CONFIG_RANDOMIZE_BASE=y CONFIG_HIBERNATION=y CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y +CONFIG_ENERGY_MODEL=y CONFIG_ARM_CPUIDLE=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_STAT=y -- 2.22.1