Re: [Qemu-devel] [PATCH 2/2] usb-xhci: Use PCI DMA helper functions

2012-04-19 Thread Gerd Hoffmann
On 04/04/12 02:15, David Gibson wrote: > Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA > from individual devices. This makes what's going on clearer and means that > when we add IOMMU support somewhere in the future, only the general PCI > code will have to change, not

[Qemu-devel] [PATCH 2/2] usb-xhci: Use PCI DMA helper functions

2012-04-03 Thread David Gibson
Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA from individual devices. This makes what's going on clearer and means that when we add IOMMU support somewhere in the future, only the general PCI code will have to change, not every device that uses PCI DMA. However, usb-

Re: [Qemu-devel] [PATCH 2/2] usb-xhci: Use PCI DMA helper functions

2012-04-02 Thread David Gibson
On Mon, Apr 02, 2012 at 11:03:33AM +0200, Andreas Färber wrote: > Am 02.04.2012 06:10, schrieb David Gibson: > > Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA > > from individual devices. This makes what's going on clearer and means that > > when we add IOMMU support s

Re: [Qemu-devel] [PATCH 2/2] usb-xhci: Use PCI DMA helper functions

2012-04-02 Thread Andreas Färber
Am 02.04.2012 06:10, schrieb David Gibson: > Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA > from individual devices. This makes what's going on clearer and means that > when we add IOMMU support somewhere in the future, only the general PCI > code will have to change,

[Qemu-devel] [PATCH 2/2] usb-xhci: Use PCI DMA helper functions

2012-04-01 Thread David Gibson
Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA from individual devices. This makes what's going on clearer and means that when we add IOMMU support somewhere in the future, only the general PCI code will have to change, not every device that uses PCI DMA. However, usb-