Received: from [140.186.70.92] (port=32909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsJQc-0003ff-Da for qemu-devel@nongnu.org; Sun, 05 Sep 2010 13:54:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsJQa-0005oU-WC for qemu-devel@nongnu.org; Sun, 05 Sep 2010 13:54:54 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:42504) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsJQa-0005oG-Jw for qemu-devel@nongnu.org; Sun, 05 Sep 2010 13:54:52 -0400 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <1AA3C99C-09EF-4FE2-B692-972A145F573B@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] Unmaintained ppc features (was: Unmaintained QEMU builds) Date: Sun, 5 Sep 2010 19:54:29 +0200 References: <4C62825A.6000903@mail.berlios.de> <4C685F5D.2090707@codemonkey.ws> <4C69A29F.5000606@codemonkey.ws> <4C6AE96C.2040907@codemonkey.ws> <1AA3C99C-09EF-4FE2-B692-972A145F573B@suse.de> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Blue Swirl , QEMU Developers Am 05.09.2010 um 12:03 schrieb Alexander Graf: > On 04.09.2010, at 16:41, Andreas F=E4rber wrote: > >> Am 17.08.2010 um 21:56 schrieb Anthony Liguori: >> >>> Often time, the feature is not generally useful so the code just =20 >>> rots. I think an awful lot of the PPC boards and devices also =20 >>> fall into this category. >>> >>> Considering that we're well over half a million lines of code =20 >>> today, I think we would do ourselves a favor by dropping some of =20 >>> the dead features we're carrying. >> >> The only really broken ppc sysemu should be PReP atm, no? Otherwise =20= >> I'm just aware of some OpenBIOS bugs. > > Qemu currently tries to potentially emulate every CPU flavor that =20 > ever existed in the world. Yeah, noticed the diversity and the hardly comprehensible macros =20 during the TCG conversion. Yet conditionalizing instructions based on CPU doesn't seem wrong when =20= you notice it in the manuals, arm does it too and Paul insisted on =20 contributors doing that right. > I have no idea if the original 601 implementation still works. Or =20 > 603. Not to speak of the halfway-implemented BookE CPUs. I'm also =20 > fairly sure that no emulated 64 bit CPU but the G5 work. > > I think the right thing to do for PPC would be to focus on a subset =20= > of CPUs we care about and make sure those work in combination. > > Also, the board emulation is ... eh ... suboptimal. The code is =20 > weirdly structured and I've already squashed a lot of bugs in there =20= > to make it barely work with Linux, but I have no idea about other OSs. Haiku/ppc was not working yet, I'm tracking some ofmem issues in =20 OpenBIOS. http://permalink.gmane.org/gmane.comp.bios.openbios/3090 > The thing we _really_ should do there would be a from-scratch =20 > implementation of a U2 (32-bit) and a U3/U4 (64-bit) board and just =20= > forget about the old stuff. While the PowerMacs are my main focus, I would actually be curious =20 about 'old' BeBox emulation (dual 603, proprietary boot ROM; a GSoC =20 suggestion) and interested in some new AIX capable machine (possibly =20 reusing the now untested POWER stuff?). And it seemed like Hollis were still using some ppcemb board at his =20 new job. Andreas=