From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S47yg-0003dT-22 for qemu-devel@nongnu.org; Sun, 04 Mar 2012 04:43:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S47yd-0002s5-MZ for qemu-devel@nongnu.org; Sun, 04 Mar 2012 04:43:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S47yd-0002s1-Es for qemu-devel@nongnu.org; Sun, 04 Mar 2012 04:43:39 -0500 Date: Sun, 4 Mar 2012 11:43:39 +0200 From: "Michael S. Tsirkin" Message-ID: <20120304094339.GA4932@redhat.com> References: <4F4B2470.3080604@ilande.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] SPARC64: unable to boot OpenBIOS from git master List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Anthony Liguori , Mark Cave-Ayland , qemu-devel@nongnu.org On Sat, Mar 03, 2012 at 03:09:16PM +0000, Blue Swirl wrote: > On Mon, Feb 27, 2012 at 06:36, Mark Cave-Ayland > wrote: > > Hi all, > > > > I've been experimenting with SPARC64 under QEMU, and with current git= master > > I am unable to boot OpenBIOS at all with the following error: > > > > OpenBIOS for Sparc64 > > Unhandled Exception 0x0000000000000032 > > PC =3D 0x00000000ffd19d84 NPC =3D 0x00000000ffd19d88 > > Stopping execution > > > > Using git bisect indicates that the problem lies with the following c= ommit: > > > > > > commit d5f27e88699f14c802d66c01de70e5ea37b7153a > > Author: Michael S. Tsirkin > > Date: =A0 Tue Feb 21 15:57:58 2012 +0200 > > > > =A0 =A0pci: set memory type for memory behind the bridge > > > > =A0 =A0As we make upper bits in IO and prefetcheable memory > > =A0 =A0registers writeable, we should declare support > > =A0 =A0for 64 bit prefetcheable memory and 32 bit io > > =A0 =A0in the bridge. > > > > =A0 =A0This changes the default for apb, dec, but I'm guessing > > =A0 =A0they got the defaults wrong by accident. > > =A0 =A0Alternatively, we could let bridges declare lack of > > =A0 =A064 bit support and make the upper bits read-only zero. > > > > =A0 =A0With this applied, we can drop these bits > > =A0 =A0from express code. > > > > =A0 =A0Reported-by: Gerd Hoffmann > > =A0 =A0Signed-off-by: Michael S. Tsirkin > > > > =A0 =A0Could someone familiar with apb,dec ack this please? > > =A0 =A0Signed-off-by: Anthony Liguori > > > > > > Does anyone have an idea as to whether this is something that needs t= o be > > fixed in QEMU or OpenBIOS? >=20 > No idea. Michael, should the commit be reverted? >=20 > It's easy to confirm the bug, just run qemu-system-sparc64 without any > arguments. Bug: black screen, no bug: yellow screen with OpenBIOS boot > text. >=20 > In fact, it's pretty annoying to see that even this very minimal > amount of testing effort has not been spent by a critical subsystem > maintainer. My bad, I just sent out a fix. > > > > Many thanks, > > > > Mark. > >