From: Quentin Perret <qperret@google•com>
To: rjw@rjwysocki•net, rafael@kernel•org, viresh.kumar@linaro•org
Cc: juri.lelli@redhat•com, kernel-team@android•com,
vincent.guittot@linaro•org, arnd@arndb•de,
linux-pm@vger•kernel.org, peterz@infradead•org,
adharmap@codeaurora•org, linux-kernel@vger•kernel.org,
mingo@redhat•com, paulus@samba•org,
linuxppc-dev@lists•ozlabs.org, tkjos@google•com
Subject: Re: [PATCH 2/2] cpufreq: Specify default governor on command line
Date: Mon, 15 Jun 2020 18:41:41 +0100 [thread overview]
Message-ID: <20200615174141.GA235811@google.com> (raw)
In-Reply-To: <20200615165554.228063-3-qperret@google.com>
On Monday 15 Jun 2020 at 17:55:54 (+0100), Quentin Perret wrote:
> static int cpufreq_init_governor(struct cpufreq_policy *policy)
> {
> int ret;
> @@ -2701,6 +2721,8 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
>
> if (driver_data->setpolicy)
> driver_data->flags |= CPUFREQ_CONST_LOOPS;
> + else
> + cpufreq_get_default_governor();
Looking at this again, it appears that the comment above
cpufreq_parse_governor() confused me a bit -- this needs doing
unconditionally I think.
I'll fix it in v2.
Thanks,
Quentin
next prev parent reply other threads:[~2020-06-15 22:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 16:55 [PATCH 0/2] cpufreq: Specify the default governor on command line Quentin Perret
2020-06-15 16:55 ` [PATCH 1/2] cpufreq: Register governors at core_initcall Quentin Perret
2020-06-16 4:28 ` Viresh Kumar
2020-06-16 8:31 ` Quentin Perret
2020-06-15 16:55 ` [PATCH 2/2] cpufreq: Specify default governor on command line Quentin Perret
2020-06-15 17:41 ` Quentin Perret [this message]
2020-06-16 4:31 ` Viresh Kumar
2020-06-16 8:31 ` Quentin Perret
2020-06-16 9:27 ` Viresh Kumar
2020-06-16 9:48 ` Quentin Perret
2020-06-16 9:54 ` Viresh Kumar
2020-06-16 9:56 ` Quentin Perret
2020-06-20 14:36 ` [cpufreq] d83f959b5e: aim7.jobs-per-min -30.2% regression kernel test robot
2020-06-22 0:54 ` [cpufreq] d83f959b5e: kmsg.cpufreq:cpufreq_online:Failed_to_initialize_policy_for_cpu:#(-#) kernel test robot
2020-06-23 9:25 ` Quentin Perret
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200615174141.GA235811@google.com \
--to=qperret@google$(echo .)com \
--cc=adharmap@codeaurora$(echo .)org \
--cc=arnd@arndb$(echo .)de \
--cc=juri.lelli@redhat$(echo .)com \
--cc=kernel-team@android$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-pm@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=mingo@redhat$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=peterz@infradead$(echo .)org \
--cc=rafael@kernel$(echo .)org \
--cc=rjw@rjwysocki$(echo .)net \
--cc=tkjos@google$(echo .)com \
--cc=vincent.guittot@linaro$(echo .)org \
--cc=viresh.kumar@linaro$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox