Return-Path: Received: from ovro.ovro.caltech.edu (ovro.ovro.caltech.edu [192.100.16.2]) by ozlabs.org (Postfix) with ESMTP id 6A622DDDFF for ; Fri, 27 Feb 2009 07:26:02 +1100 (EST) Date: Thu, 26 Feb 2009 12:25:58 -0800 From: Ira Snyder To: Geert Uytterhoeven Subject: Re: [RFC v2] virtio: add virtio-over-PCI driver Message-ID: <20090226202558.GB19523@ovro.caltech.edu> References: <20090224000002.GA578@ovro.caltech.edu> <200902261715.28440.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Arnd Bergmann , Jan-Bernd Themann , netdev@vger.kernel.org, Rusty Russell , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Feb 26, 2009 at 05:53:56PM +0100, Geert Uytterhoeven wrote: > On Thu, 26 Feb 2009, Arnd Bergmann wrote: > > On Tuesday 24 February 2009, Ira Snyder wrote: > > > +/* Virtio-over-PCI descriptors: 12 bytes. These can chain together via "next" */ > > > +struct vop_desc { > > > + /* Address (host physical) */ > > > + __le32 addr; > ^^^^ > Only 32-bit? Is this future-proof? > Probably not. If I use __le64 instead, how do I write 64 bytes over the PCI bus? There isn't an iowrite64()/ioread64() anywhere in Linux. Thanks, Ira