From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfc5w-0002EU-PH for qemu-devel@nongnu.org; Fri, 06 Mar 2009 10:36:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfc5r-0002A2-Vf for qemu-devel@nongnu.org; Fri, 06 Mar 2009 10:36:13 -0500 Received: from [199.232.76.173] (port=53493 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfc5p-00029d-M2 for qemu-devel@nongnu.org; Fri, 06 Mar 2009 10:36:09 -0500 Received: from mx2.suse.de ([195.135.220.15]:48787) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lfc5p-0001aQ-4O for qemu-devel@nongnu.org; Fri, 06 Mar 2009 10:36:09 -0500 From: Alexander Graf Date: Fri, 6 Mar 2009 16:35:54 +0100 Message-Id: <1236353765-4484-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v3 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com After spending even more time trying to get qemu-system-ppc64 to run Linux, I get up to userspace now :-). I am aware that this patchset is not 100% accurate and perfect for emulation, but I think that it can't get worse than it is now. This patchset enhances MMU support to work with large pages, implement tlbiel, and fixes random issues I ran into while getting closer to the kernel running userspace code :). Keep in mind that this also requires an OpenBIOS update, as the current code is not aware that it gets run in 64 bit mode. For now booting into userspace from an initrd works fine. I didn't try to get IDE working, but it looks like that's broken. Also console=ttyPZ0 doesn't work for me, because the pmz doesn't initialize properly (probably an OpenBIOS issue). So as long as you use graphical mode and run code from an initrd, you're fine. I also removed the lwsync patch from this patchset, as it only fixed symptoms and no causes. It would be great if anyone would step up to find out how to fix that, as it's not a ppc-only problem. Alexander Graf (11): PPC64: Implement slbmte PPC64: Implement large pages PPC64: Implment tlbiel Activate uninorth AGP bridge PPC64: Nop some SPRs on 970fx PPC64: Enable 64bit mode on interrupts PPC64: Implement mtfsf.L encoding PPC64: Fix RFI(d) PPC64: Fix NX bit PPC64: Keep SLB in-CPU PPC64: Disable BAT for 970 hw/unin_pci.c | 27 ++--- target-ppc/cpu.h | 11 ++- target-ppc/helper.c | 276 ++++++++++++++++++++++++++----------------- target-ppc/op_helper.c | 12 +- target-ppc/translate.c | 45 ++++++- target-ppc/translate_init.c | 14 ++- 6 files changed, 245 insertions(+), 140 deletions(-)