From: "Jan Beulich" Subject: RE: c/s 18470 Date: Thu, 18 Sep 2008 09:23:44 +0100 Message-ID: <48D22C30.76E4.0078.0@novell.com> References: <48D0D138.76E4.0078.0@novell.com> <48D0FC07.76E4.0078.0@novell.com> <9D7649D18729DE4BB2BD7B494F7FEDC201D4637E@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <9D7649D18729DE4BB2BD7B494F7FEDC201D4637E@pdsmsx415.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jinsong Liu Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> "Liu, Jinsong" 18.09.08 09:39 >>> >Jan Beulich wrote: >> Likewise the calls to cpufreq_{add,del}_cpu() from the CPU hot(un)plug >> paths seem to consider the Intel case only (as the functions >> themselves are Intel specific). > >[Jinsong]: > Not quite sure about your question. I just check the code: > 1. cpufreq_add/del_cpu() is arch-independent, since all arch-dependent >part has been handled by cpufreq_driver->init/exit(). > 2. cpu online/offline path is also arch-independent. > Would you please tell me more clear where is intel specific? In that platform_hypercall.c calls cpufreq_add_cpu() only for Intel CPUs, but the hotplug code calls it and cpufreq_del_cpu() always. This ought to be consistent I believe. Jan