Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp441606ybt; Wed, 1 Jul 2020 02:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLm1nvD63EP0ddQ4PAM1BYeycZ1BDsj1/GrCiMuFR0LQlf+u1l5Nr6GNhtDjGcllDEdEdz X-Received: by 2002:a17:906:414c:: with SMTP id l12mr999437ejk.417.1593594666532; Wed, 01 Jul 2020 02:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593594666; cv=none; d=google.com; s=arc-20160816; b=umwdlnNE5SoLA0iA70MBhmFAeGYQd3aIXeHqJqUPbTddVD7GzB1fwAtGWEIdyZUPsX JNVc0R57IYyVH0d4yo6L0orfBlKRd4WIZIZD0fTELQmXTKuFvz/fFkS10utZYoEBPzNV UAiDbrmHxkF1w4YAw4PlnDBxStmbtmFlBFldjD/YrRibcNIVNoJ0wxz3pdAeTVfgLLBT IL3WD7TTEkSeu5YhVGrOx5zt9DOvOyBqC9yIEwxA39nuv9mEyqnRcWqPhue01qe+W8Di YW3xYPuWb5jdhNjhK8OL+zOeZWNGkKx6hg6eCCbmtAO+njZGBuTvTBVdBz3YvWxoF92F Mbrg== 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=HlGkiUoM7e6lHAQeRjIiv7CyyJP9vFyYltukjKxHtUggs05yuk12ZrATTTG5cXTRcm RaMmpB/qQlLEsky0Ad/2H7IYNH4q4l/xop6GI30JZLZ5b/MsyVK7ZjPwrSQTQC4kMMk2 r+NmUSKXF78vxWyjAZsNMW2gPq8B8vts305zN+N+8v5DTD1m9TkH/mGe2DcFMu2hCDml S9OI/PevtNq4CzO13IWmrmOkiokUUTMOjBNVSvZtd+/uH201d/NVdt4X9mn9QdG33zgC TvuBUei/KeBCX+79mg03BIPDncGK/Zs5yWMUn2DOV0ahXsDd/PUHswcCbwgHFzuGm1Qn Jrmg== 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 q25si3566590ejb.116.2020.07.01.02.10.43; Wed, 01 Jul 2020 02:11:06 -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 S1729502AbgGAJJz (ORCPT + 99 others); Wed, 1 Jul 2020 05:09:55 -0400 Received: from foss.arm.com ([217.140.110.172]:47936 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729371AbgGAJJu (ORCPT ); Wed, 1 Jul 2020 05:09:50 -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 A2FE01424; Wed, 1 Jul 2020 02:09:49 -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 DE3533F68F; Wed, 1 Jul 2020 02:09:47 -0700 (PDT) From: Ionela Voinescu To: rjw@rjwysocki.net, viresh.kumar@linaro.org, catalin.marinas@arm.com, sudeep.holla@arm.com, will@kernel.org, linux@armlinux.org.uk, valentin.schneider@arm.com Cc: mingo@redhat.com, peterz@infradead.org, dietmar.eggemann@arm.com, ionela.voinescu@arm.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] cpufreq: make schedutil the default for arm and arm64 Date: Wed, 1 Jul 2020 10:07:51 +0100 Message-Id: <20200701090751.7543-9-ionela.voinescu@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200701090751.7543-1-ionela.voinescu@arm.com> References: <20200701090751.7543-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