Received: from eggs.gnu.org ([2001:4830:134:3::10]:39807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEsQ6-0005Ry-Ik for qemu-devel@nongnu.org; Mon, 20 Jun 2016 02:10:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEsPw-0002Rp-9j for qemu-devel@nongnu.org; Mon, 20 Jun 2016 02:10:50 -0400 Received: from 6.mo7.mail-out.ovh.net ([188.165.39.218]:43938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEsPv-0002Rc-Um for qemu-devel@nongnu.org; Mon, 20 Jun 2016 02:10:40 -0400 Received: from player739.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id 14198FF857F for ; Mon, 20 Jun 2016 08:10:38 +0200 (CEST) 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> <3258f4f3-6f5d-bb1f-9cac-2d19cac7ab53@kaod.org> <1466292910.24271.95.camel@kernel.crashing.org> <1ecfdda6-49a9-a737-80fd-a229c5a1fcf1@kaod.org> <1466345334.24271.123.camel@kernel.crashing.org> <3a87a63c-4c9e-354e-e089-dadfd00b4885@kaod.org> <1466370758.24271.125.camel@kernel.crashing.org> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: <82e44d2e-7163-244e-35de-cdb3e141e85a@kaod.org> Date: Mon, 20 Jun 2016 08:10:31 +0200 MIME-Version: 1.0 In-Reply-To: <1466370758.24271.125.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8 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: Benjamin Herrenschmidt , Thomas Huth , David Gibson Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 06/19/2016 11:12 PM, Benjamin Herrenschmidt wrote: > On Sun, 2016-06-19 at 19:23 +0200, C=C3=A9dric Le Goater wrote: >>> You can run a 32-bit OS or firmware on ppc64, but it needs to know th= at >>> it's running on a 64-bit chip and do a few things differently. >> >> yes sure but qemu would still allow rfi under 64bit CPUs, that is what= =20 >> I was concerned about. Is that ok ?=20 >=20 > Why ? A real CPU won't allow it, why should we ? That is how I feel also. So, why don't we just remove the op code in the=20 instruction sets from the 32bit CPUs instead of leaving it and testing=20 for PPC_SEGMENT_64B ? or is there some reasons we want to keep it around = ?=20 Cheers, C.