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=-8.6 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no 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 1A2C7C433DF for ; Tue, 23 Jun 2020 18:04:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA78320781 for ; Tue, 23 Jun 2020 18:04:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="DNY2SIEq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733069AbgFWSEn (ORCPT ); Tue, 23 Jun 2020 14:04:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733061AbgFWSEn (ORCPT ); Tue, 23 Jun 2020 14:04:43 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B34CFC061755 for ; Tue, 23 Jun 2020 11:04:42 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id o11so13783022wrv.9 for ; Tue, 23 Jun 2020 11:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=KMyNyMJgXdnDE8dwyWtDRLMYZCApSGZoNnTanpCNMz4=; b=DNY2SIEqqg213W0g0T1faTmSZ6dBln1UGUK/rijjLxojRCce8hOkLkT+7v4hj73zxJ sb2tRMmbp/i2e+0YWsaATQ8zHIWcg2fKZ6Nkj98z5IqY4QNWEDB2mXz69DefkTZn8xx0 FeWJgsHgkrrDXtkKrEGdm43P3iVhP6zUmtFMxIZDY9weu3Y+eiW5W/nLqhNHdLUhhGoD gnT8dPQAcBuRixz5P/BDF6r+WZwVkxThIhMJ0C6qrV5qKzK0IdyZA8eI3ePdYLTX85ag 0VMr8Sd92U4n19cJ329Sa1NO3O8kWQbPK1I2kMJWRv6SdeT1aDYNTxs0NrmQoa9c0SiY dQUQ== 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; bh=KMyNyMJgXdnDE8dwyWtDRLMYZCApSGZoNnTanpCNMz4=; b=VbJtkIGPsO230MtSprvYX+DDu0uHCozW51IvIbRLnIhkjqdgynsoWrzXiARZi/oL9B h0uy62UJGXK4AHd+MqhunSVrUBiCoEJxsNE8KPoUOJXIiJ/TRJy2BgselAKI6zv9AKyr mbEGWt83n/j9CC9zTPQAyAbhc4tIXGQVRxHlw4/PRTe5OgwErGpDV+JDUOZdo9SnYUo1 03ndf9O+SPnZ/dikJDg29NEwYojEE7Ga293KJ2yhu1bt6qlPnKf82Q9XqO79y5cB7lxm AwHZIx5RjT6IePV7Mei30rXbTx4q7WtD/QhPdFG5BLkdp9PXKalSJLgBUPHBfvwHysnT 4D/g== X-Gm-Message-State: AOAM531F5qoMfg+vIB4dAqM5grYNzLSIh7eusMCLd4ToPITHyfXd0T/n bg3LHPCDlbq6omAhUWwX5jIxbg== X-Google-Smtp-Source: ABdhPJzf8QrpXcRaMKR0n1A2i2w8BDw+Gir+VgL42qsH/jZ2RAO6SqlzOQkuQuN1npWj+Lpo2pMlsg== X-Received: by 2002:a5d:5310:: with SMTP id e16mr23887574wrv.289.1592935481174; Tue, 23 Jun 2020 11:04:41 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id i17sm17528076wrc.34.2020.06.23.11.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 11:04:40 -0700 (PDT) Date: Tue, 23 Jun 2020 19:04:37 +0100 From: Quentin Perret To: Doug Smythies Cc: arnd@arndb.de, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, kernel-team@android.com, tkjos@google.com, adharmap@codeaurora.org, viresh.kumar@linaro.org, rafael@kernel.org, rjw@rjwysocki.net Subject: Re: [PATCH v2 0/2] cpufreq: Specify the default governor on command line Message-ID: <20200623180437.GA248517@google.com> References: <20200623142138.209513-1-qperret@google.com> <002201d64987$5dc93b90$195bb2b0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002201d64987$5dc93b90$195bb2b0$@net> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi Doug, On Tuesday 23 Jun 2020 at 10:54:33 (-0700), Doug Smythies wrote: > Hi Quentin, > > Because I am lazy and sometimes do not want to recompile > the distro source, I have a need/desire for this. Good to know I'm not the only one ;-) > Tested these two grub command lines: > > GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 consoleblank=300 intel_pstate=disable cpufreq.default_governor=schedutil cpuidle_sysfs_switch cpuidle.governor=teo" > > And > > #GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 consoleblank=450 intel_pstate=passive cpufreq.default_governor=schedutil cpuidle_sysfs_switch cpuidle.governor=teo" > > And all worked as expected. I use Ubuntu as my distro, and also had to disable a startup script that switches to "ondemand", or similar, after 1 minute. Good, thanks for giving it a try. > As a side note (separate subject, but is one reason I tried it): > My i5-9600K based computer seems to hit a power limit during boot approximately 3 seconds after kernel selection on grub. > This had no effect on that issue (even when selecting powersave governor). Interesting ... Could you confirm that compiling with powersave as default doesn't fix the issue either? Other question, when does the intel_pstate driver start on your device? Before or after that 3 seconds boot time? Thanks, Quentin