From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuW3U-0002vR-Eu for qemu-devel@nongnu.org; Fri, 19 Aug 2011 16:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuW3S-0005Kf-3T for qemu-devel@nongnu.org; Fri, 19 Aug 2011 16:52:40 -0400 Received: from smtp.siriusit.co.uk ([81.187.123.5]:34420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuW3R-0005G0-SZ for qemu-devel@nongnu.org; Fri, 19 Aug 2011 16:52:38 -0400 Received: from 93-97-95-250.zone5.bethere.co.uk ([93.97.95.250] helo=[192.168.1.65]) by smtp.siriusit.co.uk with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QuW3H-000675-0L for qemu-devel@nongnu.org; Fri, 19 Aug 2011 21:52:27 +0100 Message-ID: <4E4ECD0A.70207@siriusit.co.uk> Date: Fri, 19 Aug 2011 21:52:26 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 References: <4E43FF4E.7080501@mc.net> <4E48F1A0.3080904@siriusit.co.uk> <4E493D74.6020303@mc.net> In-Reply-To: <4E493D74.6020303@mc.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] sparc32_dma: correctly initialize ledma base address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 15/08/11 16:38, Bob Breuer wrote: > Depends on the rom. The SS-5 rom always sets it correctly, whereas the > SS-20 rom only sets it when you do "boot net". Also, this is just the > top 8 bits of the address. The DMA2 documentation[1] for E_BASE_ADDR > states that these upper address bits default to 0xff, even though it > seems to incorrectly define it as bits 7:0 in the register instead of > 31:24. Nice one - looks like I missed this when reading the documentation. At least the choice of default address now makes sense. > If you follow Artyom's blog, at [2] it was assumed that the bogus dbri > device was the culprit (which is also why I went down the path of > implementing the dbri device), when in reality, the selftest failure > was preventing "boot net" from running and fixing the ledma register > settings. Okay - I think I see ;) In that case, I'd say this patch should be applied if Blue hasn't already done it (*sigh* I really miss the git web interface on qemu.org). ATB, Mark. -- Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 Sirius Labs: http://www.siriusit.co.uk/labs