[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA |
Date: |
Thu, 13 Oct 2011 02:43:06 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Oct 12, 2011 at 09:22:01AM +0200, Michael S. Tsirkin wrote:
> 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.
Well, true. But when was the last time you saw a PCI device with BE
registers? I think it's a rare enough case that the individual device
models can reswap themselves.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, (continued)
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, David Gibson, 2011/10/13
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Michael S. Tsirkin, 2011/10/16
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Avi Kivity, 2011/10/16
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, David Gibson, 2011/10/17
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Michael S. Tsirkin, 2011/10/18
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Rusty Russell, 2011/10/18
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Avi Kivity, 2011/10/19
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, David Gibson, 2011/10/19
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, David Gibson, 2011/10/11
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Michael S. Tsirkin, 2011/10/12
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA,
David Gibson <=
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, David Gibson, 2011/10/12
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, David Gibson, 2011/10/11
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Michael S. Tsirkin, 2011/10/12
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Gerd Hoffmann, 2011/10/12
- Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA, Anthony Liguori, 2011/10/03