From: Stefano Stabellini Date: Wed, 26 Jan 2011 17:07:27 +0000 (+0000) Subject: xen/setup: Route halt operations to safe_halt pvop. X-Git-Tag: upstream/snapshot3+hdmi~11575^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23febeddbe67e5160929f7c48f7bfe83c2eecb99;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git xen/setup: Route halt operations to safe_halt pvop. With this patch, the cpuidle driver does not load and does not issue the mwait operations. Instead the hypervisor is doing them (b/c we call the safe_halt pvops call). This fixes quite a lot of bootup issues wherein the user had to force interrupts for the continuation of the bootup. Details are discussed in: http://lists.xensource.com/archives/html/xen-devel/2011-01/msg00535.html [v2: Wrote the commit description] Reported-by: Daniel De Graaf Tested-by: Daniel De Graaf Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 75bdf2a..a8a66a5 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -355,6 +355,7 @@ void __init xen_arch_setup(void) boot_cpu_data.hlt_works_ok = 1; #endif pm_idle = default_idle; + boot_option_idle_override = IDLE_HALT; fiddle_vdso(); }