Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp521181ybi; Thu, 30 May 2019 02:22:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCQAS/S8SH3Ggsa6aPco1SPwuhdOwBTU1y94qrirZ4QQ++TA3/tU6E/MM3qDgTAKuK5xBl X-Received: by 2002:a63:4826:: with SMTP id v38mr2818022pga.417.1559208164287; Thu, 30 May 2019 02:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559208164; cv=none; d=google.com; s=arc-20160816; b=fY/Q1rewJio7Fr/9kfe+89soSLD9/CWY6NgZ5q0mytmX7s+Y8/Qcx5fjd3TQ1OZhDZ 55LZIffRI15DdbCJF7NiP7Mx09FpMANNOmFVtioLLwic2FRbGYTRhAdalxO2pY5CWL2A 6nGGoxID2Rtg38RwuVVKmhc8Ke8nEALhQna4yXVRDe9HE4Oi/Ck9nyAQVTJb9T6NbFKb tMnVsc5KE+onJjE2vaY89/x87X1EyqOFfgH4T6+IBhiiAORSL8PXnHXE8eTHTcrG7fa1 MnOxI6NJdX3QqOJiJqVt+L1G4e2727UMFHQ6G5wNjc+I1lQ0EoAeeKs1SESDFwMhMers NJGA== 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 :references:in-reply-to:message-id:date:subject:to:from; bh=y1OLQoiHlL6u1ojZqt42mAVF4HmIAvm1cKf2maBxiMM=; b=NclzTRNwu8QpXbs0ixIsLI4EIKzxkVCgAvHdsX+eTyv+VYx/hUnv5BC0ZPTj0Ntbsg VltludbzOBKoanioRMSTk3ENfDnWny5wbNr0InjvXqoP0GqxsAqEXpQmRMJtwuo3aIFc HAQiJ9+CZG/u4tSvsOz4gYft1loYTn9Q78YO9bM6A5zDDO0/eJylBbho8LkvnWDyQEIs OOPOVypvJYF18NvlmIkAcZkaIFZyu44hHYyPgJ1CuKw1GrZhVscQ1ebBLx0LDD2BcMQN sH2CCfvQk8lWS3y1Vc8L7iuwjZFdKByjz3kFwvRGRRl0euaQYNB7zqbi96uvKEK+7sux RG7g== 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 j93si2285246plb.32.2019.05.30.02.22.29; Thu, 30 May 2019 02:22:44 -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 S1727752AbfE3JUv (ORCPT + 99 others); Thu, 30 May 2019 05:20:51 -0400 Received: from foss.arm.com ([217.140.101.70]:33018 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbfE3JUu (ORCPT ); Thu, 30 May 2019 05:20:50 -0400 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 0A5EB15A2; Thu, 30 May 2019 02:20:50 -0700 (PDT) Received: from queper01-lin.cambridge.arm.com (queper01-lin.cambridge.arm.com [10.1.195.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5C2193F59C; Thu, 30 May 2019 02:20:47 -0700 (PDT) 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, daniel.lezcano@linaro.org, dietmar.eggemann@arm.com, ionela.voinescu@arm.com, mka@chromium.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, quentin.perret@arm.com Subject: [PATCH v5 1/3] arm64: defconfig: Enable CONFIG_ENERGY_MODEL Date: Thu, 30 May 2019 10:20:36 +0100 Message-Id: <20190530092038.12020-2-quentin.perret@arm.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190530092038.12020-1-quentin.perret@arm.com> References: <20190530092038.12020-1-quentin.perret@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 4d583514258c..58792e6a06da 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -70,6 +70,7 @@ CONFIG_XEN=y CONFIG_COMPAT=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.21.0