Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1652473ybg; Wed, 29 Jul 2020 21:55:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyk+knl3qdjhJz3EbVBcb0MOS6uzQWd6T6/kBbh5Nyp03s8Wyj2SPXquIW8C3UYw0L5tmw0 X-Received: by 2002:a50:9fc9:: with SMTP id c67mr994207edf.69.1596084951586; Wed, 29 Jul 2020 21:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596084951; cv=none; d=google.com; s=arc-20160816; b=Hdrkx7qFJvIsDbooisSlINw0FcVhm90HmudMLda0N0eDPEbKfnsj7OeCNda48v1/U2 o+sbY81MBosVBMKFXxlyZektARH/iKvO52gQ41iXXCM0ovtP8uExGYF5FlmvA7HRzsxV f24lignODZ4BM4HiaMEQav4UV39bBY4GT6VLXiSntuWEsawYR217MeVcTb2V+lnUh6MH tdipN8urUeXPKcck0P4mVo8ydEbAKTtm+gLgn0dR0n93bOgKaN8KA/XcGAOIzWovnHWL XKsop8x3P37LtPFKTntniu1Z3Q6q9k+FvWpiEyuhwDa5PKFzXtKc8vu8xLg/5ZgUw4yY 7ThA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oMCESHbnt4MLyPfYQLhtUafiIq6nsztTz/9C1axLQ3A=; b=hfStt/riDZGgyhILqHE0KihuTmkMk9A13hGk6qaMkfMOaiXWE9Khp1e7EeaU7UEFPc wBEKAIu0Dmwb2d5oR6Mv4iFEu5jpB2zrPf00P/PS81MYbCFo+zOlkAzsOInKaojbGrgl lVfX2GGskhTQwdac46WcN/C3zz+PNUcVcGPvCvrfHWxoCR37z9prnEeEZN52LVIe/xhl ihCnXhHoqlO/jGaNQAN8mHx2VyTlKZRp6j57KG1DHyi0wW5gCgmarl4hcqcmETneaSGA ZAciwwPZX1oq+phD+NWGOOEivF4Il+7GCazaDNT3DRna/JpNG0Y/rs9piH8Q7OeJbu3n dbyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=COvLTGpV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si2534599edj.167.2020.07.29.21.55.29; Wed, 29 Jul 2020 21:55:51 -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; dkim=pass header.i=@linaro.org header.s=google header.b=COvLTGpV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728553AbgG3EyO (ORCPT + 99 others); Thu, 30 Jul 2020 00:54:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728167AbgG3EyN (ORCPT ); Thu, 30 Jul 2020 00:54:13 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56785C0619D2 for ; Wed, 29 Jul 2020 21:54:12 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id 74so6076733pfx.13 for ; Wed, 29 Jul 2020 21:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oMCESHbnt4MLyPfYQLhtUafiIq6nsztTz/9C1axLQ3A=; b=COvLTGpVAwWtURU9EO/rq2zo05ChUueBFPIUsl0iR+uRXWV5ev3HEgbn3kZinSYUN4 LJCMo1eX5rLFeww5IZ+K6/JQcbTjrkm7R1MbJCVOFpN0WGBx1sMvvaM2eMvdRj+kh2ZV WYLK9+6h2sJa2zsTiQ2Fp5bUOrh/BLXycgXxH822CI+N4GsbpPnXKWlVajcG5RaIXjKB 35IUSn5MqNEFUqcuwc/aJgkAs3xR22Ndcn5fB6l3SfACBsveGzKe3R4OM91RKU4vCW9p 8Jh/+OlM/amqok9wEPEf3sK5EcyeTApbOAIhPS2FKf0OTGLyJSTv7SjSt0XnsIek3pxD AHCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oMCESHbnt4MLyPfYQLhtUafiIq6nsztTz/9C1axLQ3A=; b=ckK9wOsAOJnRXT54wZO0QxNSOjgcNHhScKj9Yr2dPFB/korB3C2bhWsfO5PRZU5pbv j2g+Wufh0vfHPJvfSPWh2NOUneWFCiTK/vCMskMNv7XKGG174LfXX/+M5n2CBizuZIrf doiPklgzzQThYIKrQEThJw/iJOg5gnWO8C6A0jLYYrZgktRBXRNGINtkUtDFw6GySols wzYIwS7T1o1o7LbeOGAQcNZ37ybjOFwmYvrZACtmOx29r5ueSepw8jYyMezXrxRCbJgA iU4dQ42db6ZRAHVQckvJIEXfShUpEXRAz+Kk4yaX0/QNUhvoT1SF18YIx96eVta+sntN LTww== X-Gm-Message-State: AOAM530xPnpeigeBJdPie325bXWdoxVPhmQZcW5kozTs7ttZoRMnGaaE DOjAtak5vuPRT8RS0sgu2RDngA== X-Received: by 2002:a63:ea02:: with SMTP id c2mr32369967pgi.66.1596084851751; Wed, 29 Jul 2020 21:54:11 -0700 (PDT) Received: from localhost ([106.201.14.19]) by smtp.gmail.com with ESMTPSA id q6sm4222105pfg.76.2020.07.29.21.54.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Jul 2020 21:54:10 -0700 (PDT) Date: Thu, 30 Jul 2020 10:24:08 +0530 From: Viresh Kumar To: Ionela Voinescu Cc: rjw@rjwysocki.net, dietmar.eggemann@arm.com, catalin.marinas@arm.com, sudeep.holla@arm.com, will@kernel.org, linux@armlinux.org.uk, mingo@redhat.com, peterz@infradead.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Valentin Schneider Subject: Re: [PATCH v2 7/7] cpufreq: make schedutil the default for arm and arm64 Message-ID: <20200730045408.cpsoymak33jl3bsm@vireshk-mac-ubuntu> References: <20200722093732.14297-1-ionela.voinescu@arm.com> <20200722093732.14297-8-ionela.voinescu@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722093732.14297-8-ionela.voinescu@arm.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-07-20, 10:37, Ionela Voinescu wrote: > 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 Applied. Thanks. -- viresh