From: Josh Boyer Date: Thu, 10 Apr 2008 11:53:37 +0000 Subject: Re: [kvm-ppc-devel] [PATCH] [v5] Add idle wait support for 44x Message-Id: <20080410065337.2152828e@zod.rchland.ibm.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jerone Young Cc: kvm-ppc-devel@lists.sourceforge.net, linuxppc-dev@ozlabs.org On Tue, 08 Apr 2008 11:49:14 -0500 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 Looks great. I'll add it to my tree shortly. josh ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-ppc-devel mailing list kvm-ppc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel