RE: Build regressions/improvements in v3.11-rc3

2013-07-31 Thread Chen Peter-B29397
My patches "usb: chipidea: fix the build error with randconfig" fixes chipidea problem. It has already at USB fixes for 3.11-rc4. On Tue, 30 Jul 2013, Geert Uytterhoeven wrote: > JFYI, when comparing v3.11-rc3 to v3.11-rc2[3], the summaries are: > - build errors: +38/-14 + arch/powerpc/kvm/b

RE: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-11 Thread Chen Peter-B29397
> > > > > > > I am working on it, but there are two versions, this one and chipidea's. > > > > Anyway, I will send a patch to fix this problem. > > if you're already using chipidea, then send me a patch removing this > driver and focus your effort on chipidea. > Added Sascha Now, not all of FS

RE: [BUILD BREAK] usb: gadget: fsl_mxc_udc can't compile on current v3.8-rc3

2013-01-10 Thread Chen Peter-B29397
> > > > > > Some recent patch has caused fsl_mxc_udc.c driver to fail compilation > > > because it can't find anymore. > > > > > > I would like this to be fixed still during this -rc cycle. > > > > Me too, who's sending a patch? :) > > Hi Peter, > > Who is currently working on the i.mx USB? >

RE: [PATCH] usb: gadget: fsl_udc_core: remove mapped flag

2012-09-04 Thread Chen Peter-B29397
> @@ -195,14 +195,13 @@ static void done(struct fsl_ep *ep, struct fsl_req > *req, int status) > dma_pool_free(udc->td_pool, curr_td, curr_td->td_dma); > } > > - if (req->mapped) { > + if (req->req.dma != DMA_ADDR_INVALID) { > dma_unmap_single(ep->udc->g

RE: [PATCH] usb: gadget: fsl_udc_core: do not immediatly prime STATUS for IN xfer

2012-09-04 Thread Chen Peter-B29397
> > Because the fsl_udc_core driver shares one 'status_req' object for the > complete ep0 control transfer, it is not possible to prime the final > STATUS phase immediately after the IN transaction. E.g. ch9getstatus() > executed: > > | req = udc->status_req; > | ... > | list_add_tail(&req->qu

RE: [PATCH v2] usb: fsl_udc: errata - postpone freeing current dTD

2012-05-21 Thread Chen Peter-B29397
> > USB controller may access a wrong address for the dTD (endpoint transfer > descriptor) and then hang. This happens a lot when doing tests with > g_ether module and iperf, a tool for measuring maximum TCP and UDP > bandwidth. > > This hardware bug is explained in detail by errata number 2858

RE: [PATCH] usb: fsl_udc: errata - postpone freeing current dTD

2012-05-20 Thread Chen Peter-B29397
> > USB controller may access a wrong address for the dTD (endpoint transfer > descriptor) and then hang. This happens a lot when doing tests with > g_ether module and iperf, a tool for measuring maximum TCP and UDP > bandwidth. > > This hardware bug is explained in detail by errata number 28

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-13 Thread Chen Peter-B29397
> > See here: > > daec765da767e4a6a30e1298862b28f2cae9a73f > > usb: gadget: mv_udc: fix dtd dma confusion > > > > So hereby I'm CC-ing all *udc.c maintainers to point out that this > > issue maybe affects you too. > > > > > > --- > > Subject: [PATCH] usb: gadget: fsl_udc: fix dtd dma confusio

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Chen Peter-B29397
> > I'm hacking here an i.MX35 not an i.MX23. So I already had a look at its > errata sheet http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf > but didn't find a similar "limitation" as you now pointed out by errata > number 2858 for i.MX23. > i.mx35 and i.mx23 uses the same controlle

RE: [RFC] [PATCH] usb: gadget: fix dtd dma confusion

2012-05-08 Thread Chen Peter-B29397
> > > > after a while of testing and searching I can come up with a patch > > that fixes g_ether <-> iperf for fsl_udc on ARM i.MX35. > > > > The sad part is that this kind of fix is already implemented for > > marvell mv_udc driver since last year but still _not_ in the ~15 > > other *udc.c dri

RE: [RFC] usb: Fix build error due to dma_mask is not at pdev_archdata at ARM

2012-02-15 Thread Chen Peter-B29397
> When build i.mx platform with imx_v6_v7_defconfig, and after adding USB > Gadget support, it has below build error: > > CC drivers/usb/host/fsl-mph-dr-of.o > drivers/usb/host/fsl-mph-dr-of.c: In function 'fsl_usb2_device_register': > drivers/usb/host/fsl-mph-dr-of.c:97: error: 'struct pde