From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEPhq-0007hw-6b for qemu-devel@nongnu.org; Sat, 18 Jun 2016 19:31:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEPhm-0005ku-10 for qemu-devel@nongnu.org; Sat, 18 Jun 2016 19:31:13 -0400 Message-ID: <1466292655.24271.92.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Sun, 19 Jun 2016 09:30:55 +1000 In-Reply-To: <5763D8D1.70701@redhat.com> References: <1465795496-15071-1-git-send-email-clg@kaod.org> <1465795496-15071-2-git-send-email-clg@kaod.org> <20160616010702.GI28087@voom.fritz.box> <20160617022731.GA19581@voom.fritz.box> <57639095.5010305@kaod.org> <576392B1.6030204@kaod.org> <5763A258.2010408@redhat.com> <5763D3EF.6060305@kaod.org> <5763D8D1.70701@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 01/10] ppc: Fix rfi/rfid/hrfi/... emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , =?ISO-8859-1?Q?C=E9dric?= Le Goater , David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On Fri, 2016-06-17 at 13:02 +0200, Thomas Huth wrote: > According to the PPC970FX user manual that I have: >=20 > "The 970FX does not provide support for the following optional or > =C2=A0obsolete instructions (or instruction forms). > =C2=A0Attempted use of these will result in an illegal instruction type > =C2=A0program interrupt. > =C2=A0 [...] > =C2=A0 =C2=B7 rfi - Return from interrupt (obsolete) " >=20 > So if OpenBIOS is using this instruction in 970 mode, it's maybe > OpenBIOS that should be fixed instead? Right, I was about to say that ... This instruction *might* have existed on POWER3 which we don't emulate, but definitely not on POWER4 and later. Cheers, Ben.