From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLozz-0004Zu-LM for qemu-devel@nongnu.org; Sat, 09 Jul 2016 05:56:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLozv-0007Zg-Ht for qemu-devel@nongnu.org; Sat, 09 Jul 2016 05:56:34 -0400 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> <1468035747.20552.30.camel@kernel.crashing.org> From: Mark Cave-Ayland Message-ID: Date: Sat, 9 Jul 2016 10:56:20 +0100 MIME-Version: 1.0 In-Reply-To: <1468035747.20552.30.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8 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: Benjamin Herrenschmidt , David Gibson , peter.maydell@linaro.org Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, =?UTF-8?Q?C=c3=a9dric_Le_Goater?= On 09/07/16 04:42, Benjamin Herrenschmidt wrote: > 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. Wow, just wow. This fixes the hard lockup after disk initialization I was seeing with OS 9.2.2, and I've just done a complete install and boot cycle of both OS 9.2.1 and OS 9.2.2 with no issues. Tested-by: Mark Cave-Ayland ATB, Mark.