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

2012-05-13 Thread Christoph Fritz
On Wed, May 09, 2012 at 02:02:22AM +0200, Christoph Fritz wrote: > > Hi to All, > > 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 dr

Re: [PATCH v3 03/17] powerpc: Add PFO support to the VIO bus

2012-05-13 Thread Benjamin Herrenschmidt
On Fri, 2012-05-11 at 07:58 +1000, Benjamin Herrenschmidt wrote: > > > > Having the timeout and retries in this function is the wrong thing to do. > > We'll resubmit this without the loop and the caller will be responsible for > > retrying the operations. > > > > I would rather have the caller ced

Re: [PATCH] powerpc/irq: Fix another case of lazy IRQ state getting out of sync

2012-05-13 Thread Wang Sheng-Hui
On 2012年05月11日 10:12, Benjamin Herrenschmidt wrote: > So we have another case of paca->irq_happened getting out of > sync with the HW irq state. This can happen when a perfmon > interrupt occurs while soft disabled, as it will return to a > soft disabled but hard enabled context while leaving a sta

Re: [Patch][hw-breakpoint] Use generic hw-breakpoint interfaces for new PPC ptrace flags

2012-05-13 Thread Benjamin Herrenschmidt
On Fri, 2012-05-11 at 14:13 +0530, K.Prasad wrote: > +#ifdef CONFIG_HAVE_HW_BREAKPOINT > + int ret, len = 0; > + struct thread_struct *thread = &(child->thread); > + struct perf_event *bp; > + struct perf_event_attr attr; > +#endif /* CONFIG_HAVE_HW_BREAKPOINT */ "ret" is unused i

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-13 Thread Greg Kroah-Hartman
On Mon, May 14, 2012 at 12:51:26AM +0200, Christoph Fritz wrote: > On Wed, May 09, 2012 at 02:02:22AM +0200, Christoph Fritz wrote: > > > > Hi to All, > > > > 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