From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58963 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuOkY-0005Hu-I5 for qemu-devel@nongnu.org; Sat, 11 Sep 2010 08:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuOkX-00008R-Db for qemu-devel@nongnu.org; Sat, 11 Sep 2010 08:00:06 -0400 Received: from mail-ew0-f45.google.com ([209.85.215.45]:53363) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuOkX-00008J-7y for qemu-devel@nongnu.org; Sat, 11 Sep 2010 08:00:05 -0400 Received: by ewy27 with SMTP id 27so2506303ewy.4 for ; Sat, 11 Sep 2010 05:00:04 -0700 (PDT) Date: Sat, 11 Sep 2010 14:00:00 +0200 From: "Edgar E. Iglesias" Message-ID: <20100911120000.GB25515@laped.lan> References: <1284167314-11594-1-git-send-email-agraf@suse.de> <20100911071203.GA25515@laped.lan> <4FB0EF0C-E254-443F-B50D-057910A39202@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FB0EF0C-E254-443F-B50D-057910A39202@suse.de> Subject: [Qemu-devel] Re: [PATCH 0/2] PowerPC fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Thomas Monjalon , QEMU Developers On Sat, Sep 11, 2010 at 12:30:50PM +0200, Alexander Graf wrote: > > On 11.09.2010, at 09:12, Edgar E. Iglesias wrote: > > > On Sat, Sep 11, 2010 at 03:08:32AM +0200, Alexander Graf wrote: > >> There goes another round of PowerPC fixes. Originally this should only have > >> been a fix for the MSR_POW issue (bug 608107), but I also stumbed over recent > >> Linux kernels not booting in qemu-system-ppc64. So a fix for that is also > >> included. > >> > >> With this new logic I didn't really took care of all HV corner cases, but HV > >> mode is not properly implemented anyways (read: we should probably rip it out > >> or do it properly, whichever is easier). I'm also fairly sure that the way > >> things are now BookE doesn't work at all, so things again haven't become worse. > >> > >> Alexander Graf (2): > >> PPC: Enable hint bits for lwarx/ldarx > >> PPC: Redesign interrupt trigger path > > > > > > FWIW the MSR parts look good to me. > > Also, none of this seems to break anything on my Virtex5 PPC-440 BookE > > board (Im working on cleaning that up so it eventually can be submitted). > > You have a working 440 MMU implementation? I wouldnt say that :) I did some hacks in collaboration with Petalogix to get some virtex4 (ppc-405) and virtex5 (ppc-440) designs to boot linux on QEMU. The 440 was a bit problematic. I only did the bare minimum to make linux happy and the patches are a quite hacky and spread out. There is probably alot missing to accurately emulate a real 440, but it's good enough to boot linux into user-space and run OK. >FWIW on 440 (which is BookE) the whole interrupt stuff works differently, giving two different registers for status bits and saved MSR. Have you changed any bits there? Nope, most of the changes are in the MMU model and some in the hw/ppc* parts. I'll try to post something within the next couple of days. Cheers