From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anXoh-0000bb-5I for qemu-devel@nongnu.org; Tue, 05 Apr 2016 16:43:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anXoc-0001vp-2v for qemu-devel@nongnu.org; Tue, 05 Apr 2016 16:43:15 -0400 Message-ID: <1459888971.20087.81.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Wed, 06 Apr 2016 06:42:51 +1000 In-Reply-To: <5703633D.8080101@fr.ibm.com> References: <1459822643-4770-1-git-send-email-david@gibson.dropbear.id.au> <1459822643-4770-2-git-send-email-david@gibson.dropbear.id.au> <1459822790.20087.65.camel@kernel.crashing.org> <20160405032533.GS16485@voom.fritz.box> <5703633D.8080101@fr.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 1/3] ppc: Rework POWER7 & POWER8 exception model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-1?Q?C=E9dric?= Le Goater , David Gibson Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, aik@ozlabs.ru, mdroth@linux.vnet.ibm.com, agraf@suse.de, qemu-ppc@nongnu.org, pbonzini@redhat.com On Tue, 2016-04-05 at 09:03 +0200, C=C3=A9dric Le Goater wrote: >=20 > Well, yes, but cpu_ppc_set_papr() only handles the AMOR setting, the LP= CR=C2=A0 > settings were kept for later as they were not bug fixes.=C2=A0 >=20 > As for now, powerpc_excp() checks the ILE bit and uses the AIL bits to=C2= =A0 > calculate the vector address, which was done before in the H_SET_MODE=C2= =A0 > hcall. This allows some simplification, getting rid of excp_prefix,=C2=A0 > and fixes a migration bug in TCG. Ah I see, the patch I'm commenting on doesn't actually have my lpes0/1 changes, so it should be ok. Cheers, Ben.