From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCw1x-0003Xu-Fk for qemu-devel@nongnu.org; Wed, 28 Mar 2012 12:47:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCw1r-0001ZM-55 for qemu-devel@nongnu.org; Wed, 28 Mar 2012 12:47:29 -0400 Message-ID: <4F734099.40107@suse.de> Date: Wed, 28 Mar 2012 18:47:21 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1332862915-27501-1-git-send-email-mark.cave-ayland@ilande.co.uk> <1332862915-27501-3-git-send-email-mark.cave-ayland@ilande.co.uk> <20120328004505.GD9582@truffala.fritz.box> In-Reply-To: <20120328004505.GD9582@truffala.fritz.box> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/2] PPC: Fix TLB invalidation bug within the PPC interrupt handler. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland , David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org Am 28.03.2012 02:45, schrieb David Gibson: > On Tue, Mar 27, 2012 at 04:41:55PM +0100, Mark Cave-Ayland wrote: >> Commit 41557447d30eeb944e42069513df13585f5e6c7f also introduced a subt= le TLB >> flush bug. By applying a mask to the interrupt MSR which cleared the I= R/DR >> bits at the start of the interrupt handler, the logic towards the end = of the >> handler to force a TLB flush if either one of these bits were set woul= d never >> be triggered. >> >> This patch simply changes the IR/DR bit check in the TLB flush logic t= o use >> the original MSR value (albeit with some interrupt-specific bits clear= ed) so >> that the IR/DR bits are preserved at the point where the check takes p= lace. >> >> Signed-off-by: Mark Cave-Ayland >=20 > Acked-by: David Gibson Thanks, compile-tested and applied to ppc-next: http://repo.or.cz/w/qemu/agraf.git/shortlog/refs/heads/ppc-next Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg