From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLidK-0008GQ-S2 for qemu-devel@nongnu.org; Fri, 08 Jul 2016 23:08:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLidK-0004Nb-0g for qemu-devel@nongnu.org; Fri, 08 Jul 2016 23:08:46 -0400 Message-ID: <1468033695.20552.24.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Sat, 09 Jul 2016 13:08:15 +1000 In-Reply-To: <1468033216.20552.23.camel@kernel.crashing.org> References: <1467355319-28406-1-git-send-email-david@gibson.dropbear.id.au> <1467355319-28406-6-git-send-email-david@gibson.dropbear.id.au> <1468032411.20552.21.camel@kernel.crashing.org> <1468032757.20552.22.camel@au1.ibm.com> <1468033216.20552.23.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-ppc] [PULL 05/23] ppc: Enforce setting MSR:EE, IR and DR when MSR:PR is set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland , David Gibson , peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, =?ISO-8859-1?Q?C=E9dric?= Le Goater On Sat, 2016-07-09 at 13:00 +1000, Benjamin Herrenschmidt wrote: > > Additionally,=C2=A0hreg_compute_mem_idx() will treat PR=3D1 as DR=3D1= /IR=3D1 > > as well ! That means that if those old processors allow PR=3D1 and IR > > or DR=3D0 and MacOS uses it, we do have a TLB coherency problem in > > qemu. >=20 > Wow, yes indeed, I see an MSR with PR=3D1 IR=3D0, IR=3D1 and EE=3D0 .. = ugh. Note that I see that happening with OS 9, but not with Darwin ... are you sure about OS X ? Cheers, Ben.