From: Len Brown Subject: Re: [RFC PATCH V4 4/5] cpuidle: driver for xen Date: Thu, 24 Mar 2011 03:18:14 -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> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-reply-to: <4D89C40B.4020809@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org To: Trinabh Gupta Cc: Konrad Rzeszutek Wilk , arjan@linux.intel.com, peterz@infradead.org, suresh.b.siddha@intel.com, benh@kernel.crashing.org, venki@google.com, ak@linux.intel.com, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Is a CONFIG_XEN kernel supposed to use just HLT in idle? xen_arch_setup() does this: pm_idle = default_idle; boot_option_idle_override = IDLE_HALT; which has that effect. I guess this makes sense b/c the CONFIG_XEN kernel is Dom0 and the real C-sates are done by the hypervisor? Would the same CONFIG_XEN kernel binary ever not run xen_arch_setup(), run on raw hardware, and want to use idle states other than HLT? thanks, -Len Brown, Intel Open Source Technology Center