Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-04 Thread Peter Crosthwaite
Hi Gerd, Liming, On Tue, Dec 4, 2012 at 6:15 PM, Gerd Hoffmann wrote: > Hi, > >> Gerd, >> >> Is there any documentation out there on how to tell QEMU on command >> line which EHCI you want your usb-storage to attach to? > > docs/usb2.txt has some examples, although those are pc-centric where th

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-04 Thread Gerd Hoffmann
Hi, > Gerd, > > Is there any documentation out there on how to tell QEMU on command > line which EHCI you want your usb-storage to attach to? docs/usb2.txt has some examples, although those are pc-centric where the ehci is created on the command line. The problem with zynx is that both ehci c

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-03 Thread walimis
On Tue, Dec 04, 2012 at 03:16:09PM +1000, Peter Crosthwaite wrote: >Hi Liming, Gerd, > >On Tue, Dec 4, 2012 at 12:50 AM, walimis wrote: >> On Mon, Dec 03, 2012 at 01:51:00PM +0100, Gerd Hoffmann wrote: >>> Hi, >>> As said in another mail, I found that the root cause is that xilinx_zynq

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-03 Thread Peter Crosthwaite
Hi Liming, Gerd, On Tue, Dec 4, 2012 at 12:50 AM, walimis wrote: > On Mon, Dec 03, 2012 at 01:51:00PM +0100, Gerd Hoffmann wrote: >> Hi, >> >>> As said in another mail, I found that the root cause is that xilinx_zynq has >>> two EHCI controller. If we use usb-storage disk, the disk will be attac

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-03 Thread walimis
On Mon, Dec 03, 2012 at 01:51:00PM +0100, Gerd Hoffmann wrote: > Hi, > >> As said in another mail, I found that the root cause is that xilinx_zynq has >> two EHCI controller. If we use usb-storage disk, the disk will be attached to >> the second EHCI controller, which the kernel uses the first EHC

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-03 Thread Gerd Hoffmann
Hi, > As said in another mail, I found that the root cause is that xilinx_zynq has > two EHCI controller. If we use usb-storage disk, the disk will be attached to > the second EHCI controller, which the kernel uses the first EHCI controller > by default. For the linux kernel it shouldn't matter

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-12-03 Thread walimis
On Thu, Nov 29, 2012 at 12:05:14PM +1000, Peter Crosthwaite wrote: >On Thu, Nov 29, 2012 at 12:00 PM, walimis wrote: >> On Thu, Nov 29, 2012 at 11:43:18AM +1000, Peter Crosthwaite wrote: >>>This was left as NULL on the initial merge due to debate on the mailing list >>>on >>>how to handle DMA con

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-11-28 Thread Gerd Hoffmann
On 11/29/12 02:43, Peter Crosthwaite wrote: > This was left as NULL on the initial merge due to debate on the mailing list > on > how to handle DMA contexts for sysbus devices. Patch > 9e11908f12f92e31ea94dc2a4c962c836cba9f2a was later merged to fix OHCI. This > is the, > equivalent fix for sysbu

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-11-28 Thread Peter Crosthwaite
On Thu, Nov 29, 2012 at 12:00 PM, walimis wrote: > On Thu, Nov 29, 2012 at 11:43:18AM +1000, Peter Crosthwaite wrote: >>This was left as NULL on the initial merge due to debate on the mailing list >>on >>how to handle DMA contexts for sysbus devices. Patch >>9e11908f12f92e31ea94dc2a4c962c836cba9f

Re: [Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-11-28 Thread walimis
On Thu, Nov 29, 2012 at 11:43:18AM +1000, Peter Crosthwaite wrote: >This was left as NULL on the initial merge due to debate on the mailing list on >how to handle DMA contexts for sysbus devices. Patch >9e11908f12f92e31ea94dc2a4c962c836cba9f2a was later merged to fix OHCI. This is >the, >equivalen

[Qemu-devel] [PATCH 1.3] ehci-sysbus: Attach DMA context.

2012-11-28 Thread Peter Crosthwaite
This was left as NULL on the initial merge due to debate on the mailing list on how to handle DMA contexts for sysbus devices. Patch 9e11908f12f92e31ea94dc2a4c962c836cba9f2a was later merged to fix OHCI. This is the, equivalent fix for sysbus EHCI. Signed-off-by: Peter Crosthwaite --- hw/usb/hc