From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLjAS-0001q9-11 for qemu-devel@nongnu.org; Fri, 08 Jul 2016 23:43:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLjAQ-0001yE-70 for qemu-devel@nongnu.org; Fri, 08 Jul 2016 23:42:59 -0400 Message-ID: <1468035747.20552.30.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Sat, 09 Jul 2016 13:42:27 +1000 In-Reply-To: <1468035691.20552.29.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> <1468033695.20552.24.camel@kernel.crashing.org> <1468035691.20552.29.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] ppc: Fix support for odd MSR combinations 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:41 +1000, Benjamin Herrenschmidt wrote: > MacOS uses an architecturally illegal MSR combination that > seems nonetheless supported by 32-bit processors, which is > to have MSR[PR]=1 and one or more of MSR[DR/IR/EE]=0. > > This adds support for it. To work properly we need to also > properly include support for PR=1,{I,D}R=0 to the MMU index > used by the qemu TLB. > > Signed-off-by: Benjamin Herrenschmidt Note Mark that with this patch on top of the dbdma series (which I did manage to find in your repository :-), my OSX 9.2.2 installer now boots without any hangs. Cheers, Ben.