From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDt7p-0002c7-Dx for qemu-devel@nongnu.org; Wed, 12 Oct 2011 03:21:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDt7o-0006Wf-OZ for qemu-devel@nongnu.org; Wed, 12 Oct 2011 03:21:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDt7o-0006Wb-He for qemu-devel@nongnu.org; Wed, 12 Oct 2011 03:21:12 -0400 Date: Wed, 12 Oct 2011 09:22:01 +0200 From: "Michael S. Tsirkin" Message-ID: <20111012072201.GB7514@redhat.com> References: <1315197304-22469-1-git-send-email-david@gibson.dropbear.id.au> <1315197304-22469-2-git-send-email-david@gibson.dropbear.id.au> <20111002102547.GC30747@redhat.com> <4E883CF4.6060606@redhat.com> <20111002105238.GE30747@redhat.com> <4E8843DB.1020404@redhat.com> <20111002111700.GF30747@redhat.com> <4E885286.30905@redhat.com> <20111002121426.GK30747@redhat.com> <20111012030746.GO4849@truffala.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111012030746.GO4849@truffala.fritz.box> Subject: Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity , qemu-devel@nongnu.org, joerg.roedel@amd.com, aliguori@us.ibm.com, rth@twiddle.net, agraf@suse.de, eduard.munteanu@linux360.ro, kraxel@redhat.com On Wed, Oct 12, 2011 at 02:07:46PM +1100, David Gibson wrote: > Um.. why? PCI is defined by the spec to be LE, so I don't see that we > need explicit endianness versions for PCI helpers. LE in the spec only applies to structures defined by the spec, that is pci configuration and msix tables in device memory. -- MST