Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp367363ybh; Wed, 22 Jul 2020 02:41:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx00NmiSpi4rf7yDFzfIkhCkQ/aY8+F4l44kid5oNgE6wLNSW7vYSG3vIcteJrOtu9TitRC X-Received: by 2002:a17:906:375a:: with SMTP id e26mr249315ejc.324.1595410865087; Wed, 22 Jul 2020 02:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595410865; cv=none; d=google.com; s=arc-20160816; b=QUs1DinGp06WlFVE8JTtcjrXx2h9/1nhAfN8JJYtbWzLg162a+eXGP9gmRcC/Df3qV M2+DJKC+vWFoC5n+9AiMYEMUqI1k4iL+ByYMHHOkHmwiyqrN5toJGJmm8J3S//ybqIOQ nX1URiiW8pjRW0rk/jb2pABqQ6ff5mIJvADB8qlo8+sF0kLHTNJhsUfOQSlA5tPF2hDi DpY1frvJ/IRfElsgcpkKhw+cr3ZepQ7dleBwhDfcsUEMoE/Gq4JXB5CYK+oaiV6/OKZF ZSRwkVYJX7cdP8Pu1QHmVAC5U0X2BAorPzqut1uOmRAhmWxE9soSQPTsAhzeoOCrX4/L u2Rg== 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=4pqrLQJMXxGXwqU2xeR9jzhM2NSu4Z8+tw2UJWpmQ6E=; b=dvbxda7FhbceFMA21865pz3BsWgpIaC1ssEMvLhidxq337VedFMd2JBDLOX4DmgciB 0DQ1cD0yLmlzDRXeqBGCJYsSUcTljrtRR/nGnm7qsOZDzk0f9zxy2ekYRhhki5h9ohuB JZZ3QSYCtZnmQ9J7L2/te41WlzCFpcF5Sa534PD5sIC818/doWY09aT20ei5P8YLSiGi YK9vb2cUQEmOTtHAL/DucPFqs155Kb3jqeWLLHItiSiUQ+BGKrDsZ+qI3tnwyz2uao0Z cOZa3R9fFjSN+UPiXpdtYUeiUs519y21zFnGRC6W7bNZi7prylsi1FlTaAg5vXwlh1rR U/lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si14268966edp.138.2020.07.22.02.40.42; Wed, 22 Jul 2020 02:41:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731745AbgGVJiz (ORCPT + 99 others); Wed, 22 Jul 2020 05:38:55 -0400 Received: from foss.arm.com ([217.140.110.172]:53116 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbgGVJiz (ORCPT ); Wed, 22 Jul 2020 05:38:55 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7CDA11045; Wed, 22 Jul 2020 02:38:54 -0700 (PDT) Received: from e108754-lin.cambridge.arm.com (unknown [10.1.198.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B76023F66F; Wed, 22 Jul 2020 02:38:52 -0700 (PDT) From: Ionela Voinescu To: rjw@rjwysocki.net, viresh.kumar@linaro.org, dietmar.eggemann@arm.com, catalin.marinas@arm.com, sudeep.holla@arm.com, will@kernel.org, linux@armlinux.org.uk Cc: mingo@redhat.com, peterz@infradead.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ionela.voinescu@arm.com, Valentin Schneider Subject: [PATCH v2 7/7] cpufreq: make schedutil the default for arm and arm64 Date: Wed, 22 Jul 2020 10:37:32 +0100 Message-Id: <20200722093732.14297-8-ionela.voinescu@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200722093732.14297-1-ionela.voinescu@arm.com> References: <20200722093732.14297-1-ionela.voinescu@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Valentin Schneider schedutil is already a hard-requirement for EAS, which has lead to making it default on arm (when CONFIG_BIG_LITTLE), see: commit 8fdcca8e254a ("cpufreq: Select schedutil when using big.LITTLE") One thing worth pointing out is that schedutil isn't only relevant for asymmetric CPU capacity systems; for instance, schedutil is the only governor that honours util-clamp performance requests. Another good example of this is x86 switching to using it by default in: commit a00ec3874e7d ("cpufreq: intel_pstate: Select schedutil as the default governor") Arguably it should be made the default for all architectures, but it seems better to wait for them to also gain frequency invariance powers. Make it the default for arm && arm64 for now. Signed-off-by: Valentin Schneider Signed-off-by: Ionela Voinescu Cc: Catalin Marinas Cc: Will Deacon Cc: Russell King Cc: Rafael J. Wysocki Cc: Viresh Kumar --- drivers/cpufreq/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index e91750132552..2c7171e0b001 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -37,7 +37,7 @@ config CPU_FREQ_STAT choice prompt "Default CPUFreq governor" default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ - default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if BIG_LITTLE + default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if ARM64 || ARM default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if X86_INTEL_PSTATE && SMP default CPU_FREQ_DEFAULT_GOV_PERFORMANCE help -- 2.17.1