From owner-freebsd-sparc64@freebsd.org Sun Sep 13 17:47:37 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20852A03C5A for ; Sun, 13 Sep 2015 17:47:37 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from s16892447.onlinehome-server.info (s16892447.onlinehome-server.info [82.165.15.123]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB94D1D50; Sun, 13 Sep 2015 17:47:36 +0000 (UTC) (envelope-from mark.cave-ayland@ilande.co.uk) Received: from [2.219.74.29] (helo=[192.168.1.86]) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1ZbBNC-0001O6-T8; Sun, 13 Sep 2015 18:47:34 +0100 Message-ID: <55F5B6AA.8050302@ilande.co.uk> Date: Sun, 13 Sep 2015 18:47:22 +0100 From: Mark Cave-Ayland User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Alexey Dokuchaev , Marius Strobl CC: "freebsd-sparc64@freebsd.org" References: <557DA6D5.4070800@FreeBSD.org> <557DCF54.7020606@ilande.co.uk> <557DF887.20508@ilande.co.uk> <20150906110308.GA68829@FreeBSD.org> <55EC2E8D.4020803@ilande.co.uk> <20150906124859.GA14919@FreeBSD.org> <20150907203152.GA70457@alchemy.franken.de> <55EDFE00.9090109@ilande.co.uk> <20150913022143.GA7862@alchemy.franken.de> <20150913103940.GA60101@FreeBSD.org> In-Reply-To: <20150913103940.GA60101@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2.219.74.29 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: Re: PCI range checking under qemu-system-sparc64 X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: No (on s16892447.onlinehome-server.info); Unknown failure X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2015 17:47:37 -0000 On 13/09/15 11:39, Alexey Dokuchaev wrote: > On Sun, Sep 13, 2015 at 04:21:43AM +0200, Marius Strobl wrote: >> However, looking at ebus(4), I've spotted a bug in the conversion >> to NEW_PCIB. Interested parties might want to give the attached >> patch a try. That bug definitely can lead to the problem seen with >> QEMU, I'm not sure it's the only one in that regard, though; I'm >> fairly certain in this case there's no problem with interpreting >> the device-tree involved, given that the same code is used for >> ISA busses which - at least in reality - unlike EBus ones use >> I/O port instead of memory space for the resources of devices >> such as UARTs etc. There could be other spots not prepared for >> EBus devices suddenly requesting SYS_RES_IOPORT, too, though. > > I've applied that patch, but it alone is not enough to allow the boot > to proceed further in QEMU. :( How sad :( > As Mark had mentioned, I will try to get some debug info and share > it if I find anything interesting. Yes please. Once the ebus attach is sorted then hopefully things will start to become a bit clearer... ATB, Mark.