RE: [PATCH 00/22] musb patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felipe Balbi wrote:
> On Wed, Dec 09, 2009 at 02:30:35PM +0100, ext Gadiyar, Anand wrote:
> >Another issue with the whole series:
> >
> >testusb with g_zero fails on some OUT transfers:
> >I ran this:
> >sudo ./testusb -a -t 1 -c 1 -s 4096
> >
> >On the OMAP, I see only 512 bytes were received,
> >and DMA is still waiting for the remaining 3584
> >bytes. Maybe a bug in the Autoclear handling?
> >
> >IN transfers went through okay.
> >
> >Will debug some more tomorrow. Any chance you can give this a
> >shot on your boards as well?
> 
> I can ran it tomorrow. I'll have time tomorrow for looking at this 
> also.
> 

This issue occurs with "[PATCH 21/22] usb: musb: enabling dma tx for gadget"

Logs below (at debug level 5).

Not sure when I'll next get a chance to look at this, so sent
this out now. Will revisit sometime later, unless someone beats
me to it.

- Anand

musb_interrupt 1505: ** IRQ peripheral usb0008 tx0001 rx0000
musb_g_ep0_irq 643: csr 0001, count 8, myaddr 16, ep0stage idle
musb_read_fifo 209: RX ep0 fifo fa0ab020 count 8 buf c03dbe66
musb_read_setup 577: SETUP req01.0b v0000 i0000 l0
musb_g_ep0_irq 819: handled 0, csr 0001, ep0stage wait
musb_gadget_disable 920: disabling ep1in
nuke 324: ep1in nuke, DMA c7864018 RxCSR 0000 TxCSR 0003
stop_dma 273: ep1in dma stopped (addr 0x87a62000, len 0)
musb_g_giveback 128: ep1in request c78f34c0, 0/4096 fault -108
musb_gadget_disable 953: ep1in
musb_gadget_disable 920: disabling ep1out
nuke 324: ep1out nuke, DMA (null) RxCSR 0000 TxCSR 0000
musb_g_giveback 128: ep1out request c7a56e80, 0/4096 fault -108
musb_gadget_disable 953: ep1out
musb_gadget_enable 781: ===> enabling ep1in
musb_gadget_queue 1023: <== to ep1in request=c7a56e80, length 4096
musb_gadget_queue 1052: restarting
musb_ep_restart 449: <== TX/IN request c7a56e80 len 4096 on hw_ep1(pio)
dma_channel_program 174: ep1-Tx pkt_sz 512, dma_addr 0x87a55000 length 4096, mode 1
configure_channel 129: c7864018, pkt_sz 512, addr 0x87a55000, len 4096, mode 1
start_dma 256: ep1in DMA started (addr 0x87a55000, len 4096, CSR b400)
musb_gadget_enable 781: ===> enabling ep1out
musb_gadget_queue 1023: <== to ep1out request=c78f34c0, length 4096
musb_g_ep0_queue 925: queue to ep0 (OUT/RX), length=0
musb_g_giveback 123: ep0 done request c78f3780,  0/0
musb_interrupt 1505: ** IRQ peripheral usb0008 tx0003 rx0002
musb_g_ep0_irq 643: csr 0000, count 0, myaddr 16, ep0stage in/status
musb_g_rx 681: <== ep1out, rxcsr 0003 c78f34c0 (dma disabled, false)
dma_channel_program 174: ep1-Rx pkt_sz 512, dma_addr 0x87a62000 length 4096, mode 1
start_dma 256: ep1out DMA started (addr 0x87a62000, len 4096, CSR a803)
musb_g_tx 476: <== ep1in, txcsr b403
musb_g_tx 515: ep1in dma still busy?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux