From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEzg9-0007Vl-0n for qemu-devel@nongnu.org; Mon, 20 Jun 2016 09:55:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEzg4-0004l8-0p for qemu-devel@nongnu.org; Mon, 20 Jun 2016 09:55:53 -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> <1466409752.24271.140.camel@kernel.crashing.org> <1466415136.24271.146.camel@kernel.crashing.org> From: Alexander Graf Message-ID: <5767F5DE.2020505@suse.de> Date: Mon, 20 Jun 2016 15:55:42 +0200 MIME-Version: 1.0 In-Reply-To: <1466415136.24271.146.camel@kernel.crashing.org> Content-Type: text/plain; charset=utf-8; format=flowed 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 06/20/2016 11:32 AM, Benjamin Herrenschmidt wrote: > On Mon, 2016-06-20 at 18:02 +1000, Benjamin Herrenschmidt wrote: >> On Mon, 2016-06-20 at 17:08 +1000, Benjamin Herrenschmidt wrote: >>> >>> That fixed, it dies elsewhere in something related to page faults, >>> still digging. >>> >> Next problem: Darwin kernel assumes DSISR is 0 on a 0x380 exception ! >> >> qemu was leaving it to whatever value it had before. Kaboom. >> >> Now it crashes a bit further :-) > Right so it tries to load a MacRISC2 PE because we don't really emulate > a MacRISC4 with U3 etc... and that isn't going to do it any good, > really.. > > I'm not *actually* sure where MacOS gets itself into a spin, it seems > to be poking at something at 0xf280_0000 which is somewhat odd as this > would be the IO space and we have nothing there afaik, but I am not > enough of a MacOS expert to figure out quite how to track down which > kext it gets into etc... > > In any case, the machine we give it is definitely nowhere near a real > G5 and that might be the main reason. More work needed. > > I'll still cleanup & submit my current crop of fixes in case somebody > wants to have a look. Since the patches do get you further along and get us closer to an actual 970, I guess it's a good idea to actually push them into the tree. Alex