From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4C8EC43381 for ; Thu, 28 Mar 2019 10:22:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75CC5206B8 for ; Thu, 28 Mar 2019 10:22:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lL7RMqmy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 75CC5206B8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bruC6Lev9mJmllv0GR1IqRxEFP5bt951K/p/X7Ngbb8=; b=lL7RMqmy/xyRL+ sd57sc4pnLZFZ2yzGDQYe0Wtd+qv1Yr4mtoiC0+OkaT4Q3kz1bBVQzrubY+FqnrW+q66WuKpMNFZq iW82Otq/f/JbAjdsJqT9dhptoMgx2NN4jOK6HnjXEs0mIqjs0/v3IiyyRy4U21P+uAizJSyE+7p7W MAaGftGKVGlwztMPubDsWIbviqmigHTQlnCGwsDlAv3gU9BTI9HzsBR849GpQ+SHQozOm4XKGVjcP ghwWlLNqAfYn8FKef2RKYfrjaKuFIxz6P6ZyYCw1TUIOiERriH4zKpnzbzm/jnklSerWn/3XaufbR Re1ux7iEBiqiAB1IzNHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9SAv-0000g0-7O; Thu, 28 Mar 2019 10:22:21 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9SAo-0000fC-UH for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2019 10:22:17 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4513D15AB; Thu, 28 Mar 2019 03:22:12 -0700 (PDT) Received: from queper01-lin (queper01-lin.cambridge.arm.com [10.1.195.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DE3443F59C; Thu, 28 Mar 2019 03:22:09 -0700 (PDT) Date: Thu, 28 Mar 2019 10:22:08 +0000 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, will.deacon@arm.com, catalin.marinas@arm.com Subject: Re: [PATCH 1/3] arm64: defconfig: Enable CONFIG_ENERGY_MODEL Message-ID: <20190328102206.doqj5fykqlld7jkd@queper01-lin> References: <20190328101352.25657-1-quentin.perret@arm.com> <20190328101352.25657-2-quentin.perret@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190328101352.25657-2-quentin.perret@arm.com> User-Agent: NeoMutt/20171215 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190328_032214_981538_8E4E8F0A X-CRM114-Status: GOOD ( 17.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, ionela.voinescu@arm.com, dietmar.eggemann@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thursday 28 Mar 2019 at 10:13:50 (+0000), Quentin Perret wrote: > 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'. > > 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 2d9c39033c1a..3c09bdaaefd3 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -97,6 +97,7 @@ CONFIG_XEN=y > CONFIG_COMPAT=y > CONFIG_HIBERNATION=y > CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y > +CONFIG_ENERGY_MODEL=n Hmm, sorry I turned this to '=n' for testing and forgot to update the patch. This obviously should be '=y' ... > CONFIG_ARM_CPUIDLE=y > CONFIG_CPU_FREQ=y > CONFIG_CPU_FREQ_STAT=y > -- > 2.21.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel