From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: Jean Delvare <jdelvare@suse.de>
Cc: Darren Hart <dvhart@infradead.org>,
Paul Gortmaker <paul.gortmaker@windriver.com>,
Andy Shevchenko <andy@infradead.org>,
platform-driver-x86@vger.kernel.org,
Peter Zijlstra <peterz@infradead.org>
Subject: Re: intel_turbo_max_3 non-modularity
Date: Fri, 28 Apr 2017 13:35:35 -0700 [thread overview]
Message-ID: <1493411735.69096.494.camel@linux.intel.com> (raw)
In-Reply-To: <20170428104010.2fc36751@endymion>
Hi Jean,
[...]
> >
> By the way, is there any fundamental reason why intel_pstate could
> not
> be modularized? Or was it just another instance of needing functions
> which were not exported yet? I know that the intel_pstate driver is
> widely used nowadays, but still, this is a CPU-specific driver that
> not all x86 users need, and it isn't slim. It would be nice to be
> able
> to build it as a module too.
>
I wish it can be a module. The problem is the race between acpi-cpufreq
and intel_pstate when built as modules. Since every distribution will
have both of these configs set.
Based on the load order any of this driver can load as cpufreq scaling
driver. We want intel_pstate should be tried first and if can't be
supported then acpi-cpufreq should be used.
There are two PM trace event this depends on, which require built in
but that can be solved.
So if anybody has suggestion on how to solve this, this can be done.
Thanks,
Srinivas
next prev parent reply other threads:[~2017-04-28 20:35 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-24 9:31 intel_turbo_max_3 non-modularity Jean Delvare
2017-04-24 14:02 ` Paul Gortmaker
2017-04-27 21:48 ` Darren Hart
2017-04-27 23:18 ` Srinivas Pandruvada
2017-04-28 7:55 ` Peter Zijlstra
2017-04-28 13:20 ` Jean Delvare
2017-04-28 13:46 ` Peter Zijlstra
2017-04-28 15:49 ` Darren Hart
2017-04-28 16:34 ` Peter Zijlstra
2017-04-28 20:58 ` Darren Hart
2017-04-28 21:39 ` Peter Zijlstra
2017-04-28 8:40 ` Jean Delvare
2017-04-28 20:35 ` Srinivas Pandruvada [this message]
2017-04-28 7:49 ` Jean Delvare
2017-04-28 17:44 ` Paul Gortmaker
2017-04-28 20:49 ` Darren Hart
2017-04-28 21:34 ` Peter Zijlstra
2017-04-28 22:51 ` Darren Hart
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=1493411735.69096.494.camel@linux.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=andy@infradead.org \
--cc=dvhart@infradead.org \
--cc=jdelvare@suse.de \
--cc=paul.gortmaker@windriver.com \
--cc=peterz@infradead.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.