From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RH4d9-0006nT-9o for qemu-devel@nongnu.org; Thu, 20 Oct 2011 22:14:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RH4d6-0003hG-N8 for qemu-devel@nongnu.org; Thu, 20 Oct 2011 22:14:43 -0400 Date: Fri, 21 Oct 2011 12:13:29 +1100 From: David Gibson Message-ID: <20111021011329.GD3852@truffala.fritz.box> References: <1318829177-30777-1-git-send-email-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] ppc: Avoid decrementer related kvm exits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On Thu, Oct 20, 2011 at 10:08:36AM -0700, Alexander Graf wrote: > > On 16.10.2011, at 22:26, David Gibson wrote: > > > In __cpu_ppc_store_decr(), we set up a regular timer used to trigger > > decrementer interrupts. This is necessary to implement the decrementer > > properly under TCG, but is unnecessary under KVM (true for both Book3S-PR > > and Book3S-HV KVM variants), because the kernel handles generating and > > delivering decrementer exceptions. > > > > Under kvm, in fact, the timer causes expensive and unnecessary exits from > > kvm to qemu. This patch, therefore, disables setting the timer when kvm > > is in use. > > > > Signed-off-by: Anton Blanchard > > Signed-off-by: David Gibson > > Thanks, applied to ppc-next. I think you've forgotten to push out the new ppc-next again.. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson