[kvm-ppc-devel] [PATCH] [v5] Add idle wait support for 44x platforms
Hollis Blanchard
hollisb at us.ibm.com
Wed Apr 9 05:43:46 EST 2008
On Tuesday 08 April 2008 11:49:14 Jerone Young wrote:
> 2 files changed, 77 insertions(+), 1 deletion(-)
> arch/powerpc/platforms/44x/Makefile | 2
> arch/powerpc/platforms/44x/idle.c | 76
> +++++++++++++++++++++++++++++++++++
>
>
> Updates: Now setting MSR_WE is now default
> Tested on hardware platforms bamboo & sequioa and appears
> things are working fine on actually hardware!
>
> This patch adds the ability for the CPU to go into wait state while in
> cpu_idle loop. This helps virtulization solutions know when the guest Linux
> kernel is in an idle state. There are two ways to do it.
>
> Command line
> idle=spin <-- CPU will spin
> idle=wait <-- set CPU into wait state when idle (default)
>
>
> Signed-off-by: Jerone Young <jyoung5 at us.ibm.com>
Acked-by: Hollis Blanchard <hollisb at us.ibm.com>
--
Hollis Blanchard
IBM Linux Technology Center
More information about the Linuxppc-dev
mailing list