From: "Jan Beulich" Subject: Re: [PATCH 6/9] x86/intel_pstate: the main boby of the intel_pstate driver Date: Tue, 28 Apr 2015 14:17:27 +0100 Message-ID: <553F967702000078000CDF60@mail.emea.novell.com> References: <1461419884-6091-1-git-send-email-wei.w.wang@intel.com> <553BD786.6060802@citrix.com> <286AC319A985734F985F78AFA26841F78D2FC4@shsmsx102.ccr.corp.intel.com> <553CE1EB.1080302@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <553CE1EB.1080302@citrix.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.w.wang@intel.com Cc: kevin.tian@intel.com, ian.campbell@citrix.com, andrew.cooper3@citrix.com, eddie.dong@intel.com, xen-devel@lists.xen.org, julien.grall@citrix.com, yang.z.zhang@intel.com List-Id: xen-devel@lists.xenproject.org >>> Julien Grall 04/26/15 7:33 PM >>> >On 26/04/2015 05:32, Wang, Wei W wrote: >> Thanks for your comments. But I saw "int powernow_cpufreq_init(void);" is put there. > >FWIW, this prototype doesn't have any implementation even on x86. > >While currently some drivers (such as the x86 powernow) may define >prototype in the common header. This is wrong, the common code should >not be able to call those functions. > >There is an ongoing support on ACPI for ARM (an RFC has been sent a >couple of months ago). Adding new x86 prototype in this directory >complicate the splitting. Please help us to at least avoid adding new >x86 specific prototype/code in the common code when it's possible. > >We will take care of moving the current x86 prototype/code in the >arch-specific directories. > >Although, I'm not a maintainer. They may have a different opinion on >this point. I fully agree - bad examples shouldn't lead to more bad stuff getting added. Jan