From: Len Brown Subject: Re: Re: [RFC PATCH V4 4/5] cpuidle: driver for xen Date: Thu, 31 Mar 2011 17:26:25 -0400 (EDT) Message-ID: References: <20110322123208.28725.30945.stgit@tringupt.in.ibm.com> <20110322123324.28725.3131.stgit@tringupt.in.ibm.com> <20110322145054.GB26952@dumpdata.com> <4D89C40B.4020809@linux.vnet.ibm.com> <20110324120522.GB29294@dumpdata.com> <4D8CA902.7090907@goop.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-reply-to: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: venki@google.com, ak@linux.intel.com, suresh.b.siddha@intel.com, sfr@canb.auug.org.au, peterz@infradead.org, benh@kernel.crashing.org, Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, arjan@linux.intel.com, Trinabh Gupta List-Id: xen-devel@lists.xenproject.org > > >> xen_arch_setup() does this: > > >> > > >> pm_idle = default_idle; > > >> boot_option_idle_override = IDLE_HALT; What happens on a Xen kernel if these lines are not there? Does Xen export the C-states tables to Dom0 kernel, and the Dom0 kernel has an acpi processor driver, and thus it would try to use all the C-states? If yes, must Xen show those tables to Dom? If it did not, then the lines above would not be necessary, as in the absence of any C-states, the kernel should use halt by default. thanks, -Len Brown, Intel Open Source Technology Center