Received: from eggs.gnu.org ([2001:4830:134:3::10]:54186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEtN4-0005Kn-EQ for qemu-devel@nongnu.org; Mon, 20 Jun 2016 03:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEtMz-0005Ar-CS for qemu-devel@nongnu.org; Mon, 20 Jun 2016 03:11:45 -0400 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> <3B48DA40-D79B-416A-84E7-4743F60C2657@suse.de> <1466374521.24271.130.camel@kernel.crashing.org> <1466375718.24271.132.camel@kernel.crashing.org> <1466406504.24271.136.camel@kernel.crashing.org> From: Alexander Graf Message-ID: <32759854-db9b-2d25-902e-6801bc7dcdb3@suse.de> Date: Mon, 20 Jun 2016 09:11:37 +0200 MIME-Version: 1.0 In-Reply-To: <1466406504.24271.136.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 , =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Cc: Thomas Huth , David Gibson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 20.06.16 09:08, Benjamin Herrenschmidt wrote: > On Mon, 2016-06-20 at 08:35 +1000, Benjamin Herrenschmidt wrote: >> , >> Ok so Darwin uses some of the HSPRG etc... that we don't emulate on >> the 970 so I suspect it never worked. I've added them but something >> else breaks, I'll dig, I have the kernel source so it shouldn't be >> too hard >> ;-) > > Well, it ended up being harder than I thought. In fact I'm not there > yet ! So the Darwin VM layer dies early because HID5 isn't set > properly, thus dcbz is doing 128 bytes clear instead of 32, clobbering > things. > > It looks like Apple's kernel doesn't set the right default in HID5, so > we have to either do it in openbios or in qemu. Alex, what did you find Uh, I'm fairy sure XNU sets HID5. > out back in the day ? Or you never bothered running a 64-bit MacOS > under PR KVM ? I don't think I ever had 64bit Mac OS X working in TCG or KVM :). Alex > That fixed, it dies elsewhere in something related to page faults, > still digging. > > Cheers, > Ben. >