From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH v3 08/11] x86/intel_pstate: add a booting param to select the driver to load Date: Thu, 18 Jun 2015 16:07:06 +0100 Message-ID: <5582FABB0200007800086B25@mail.emea.novell.com> References: <1434011306-17498-1-git-send-email-wei.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434011306-17498-1-git-send-email-wei.w.wang@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Wang Cc: andrew.cooper3@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 11.06.15 at 10:28, wrote: > --- a/xen/arch/x86/acpi/cpufreq/intel_pstate.c > +++ b/xen/arch/x86/acpi/cpufreq/intel_pstate.c > @@ -749,6 +749,9 @@ static struct cpufreq_driver intel_pstate_driver = { > .name = "intel_pstate", > }; > > +static bool_t __initdata load_intel_pstate; > +boolean_param("intel_pstate", load_intel_pstate); > + > static int intel_pstate_msrs_not_valid(void) > { > if (!pstate_funcs.get_max() || Please move this immediately ahead of the (only) function you need it in, or even inside that function. With that and with patch 9 folded into this one Acked-by: Jan Beulich