From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcNmH-0005WK-O0 for qemu-devel@nongnu.org; Sun, 18 Dec 2011 15:56:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcNmG-00016C-4m for qemu-devel@nongnu.org; Sun, 18 Dec 2011 15:56:13 -0500 Received: from ozlabs.org ([203.10.76.45]:57093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcNmF-000164-Rp for qemu-devel@nongnu.org; Sun, 18 Dec 2011 15:56:12 -0500 From: Rusty Russell In-Reply-To: <201112121445.27873.paul@codesourcery.com> References: <1321282528-19070-1-git-send-email-peter.maydell@linaro.org> <201112120252.35295.paul@codesourcery.com> <1323688579.2391.11.camel@hornet.cambridge.arm.com> <201112121445.27873.paul@codesourcery.com> Date: Fri, 16 Dec 2011 16:06:53 +1030 Message-ID: <87iplhoz62.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [RFC 0/4] virtio-mmio transport List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook , Pawel Moll Cc: Peter Maydell , virtualization@lists.linux-foundation.org, "qemu-devel@nongnu.org" , Paolo Bonzini On Mon, 12 Dec 2011 14:45:26 +0000, Paul Brook wrote: > > I can do that, but not this year (on holiday from Friday 16th, without > > any access to Internet whatsoever :-) One think to be decided is in what > > order the halfs should be filled? Low first, then high? High then low? > > Does it matter at all? :-) > > My inital though was that you shouldn't be changing this value when the ring > is enabled. Unfortunately you disable the ring by setting the address to zero > so that argument doesn't work :-/ It only does that after a reset, and since reset should set the values to 0 (I don't think the spec says that, but it will for the new config) we needn't do it at all. It's just a convenient value for the driver to read and know the ring has been cleaned up. I think initialize by QueueNum makes sense. Thanks, Rusty.