Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-07-01 Thread Vinod Koul
On Mon, May 26, 2014 at 02:52:34PM +0200, Daniel Mack wrote: When a 0-length packet is received on the bus, desc-pd0 yields 1, which confuses the driver's users. This information is clearly wrong and not in accordance to the datasheet, but it's been observed on an AM335x board, very

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-07-01 Thread Daniel Mack
On 06/30/2014 09:40 PM, Daniel Mack wrote: #3 fixes a reproducible kernel crash when unplugging streaming audio devices, and #5 causes data stream starvation which makes using many s/causes/fixes/, of course. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Felipe Balbi
On Mon, May 26, 2014 at 02:52:34PM +0200, Daniel Mack wrote: When a 0-length packet is received on the bus, desc-pd0 yields 1, which confuses the driver's users. This information is clearly wrong and not in accordance to the datasheet, but it's been observed on an AM335x board, very

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Daniel Mack
Hi Felipe, Glad to see you find some time for this patch set :) On 06/30/2014 07:19 PM, Felipe Balbi wrote: On Mon, May 26, 2014 at 02:52:34PM +0200, Daniel Mack wrote: When a 0-length packet is received on the bus, desc-pd0 yields 1, which confuses the driver's users. This information is

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Felipe Balbi
Hi, On Mon, Jun 30, 2014 at 09:19:08PM +0200, Daniel Mack wrote: Hi Felipe, Glad to see you find some time for this patch set :) yeah, have been quite busy lately. On 06/30/2014 07:19 PM, Felipe Balbi wrote: On Mon, May 26, 2014 at 02:52:34PM +0200, Daniel Mack wrote: When a 0-length

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Daniel Mack
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/30/2014 09:26 PM, Felipe Balbi wrote: On Mon, Jun 30, 2014 at 09:19:08PM +0200, Daniel Mack wrote: I also asked Vinod to pick this single patch for his tree, but there was no answer yet. cool. hopefully we can get a better v3.17.

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Felipe Balbi
Hi, On Mon, Jun 30, 2014 at 09:29:10PM +0200, Daniel Mack wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/30/2014 09:26 PM, Felipe Balbi wrote: On Mon, Jun 30, 2014 at 09:19:08PM +0200, Daniel Mack wrote: I also asked Vinod to pick this single patch for his tree, but there

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Daniel Mack
On 06/30/2014 09:31 PM, Felipe Balbi wrote: On Mon, Jun 30, 2014 at 09:29:10PM +0200, Daniel Mack wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/30/2014 09:26 PM, Felipe Balbi wrote: On Mon, Jun 30, 2014 at 09:19:08PM +0200, Daniel Mack wrote: I also asked Vinod to pick this

Re: [PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-06-30 Thread Vinod Koul
On Mon, Jun 30, 2014 at 09:40:06PM +0200, Daniel Mack wrote: On 06/30/2014 09:31 PM, Felipe Balbi wrote: On Mon, Jun 30, 2014 at 09:29:10PM +0200, Daniel Mack wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/30/2014 09:26 PM, Felipe Balbi wrote: On Mon, Jun 30, 2014 at

[PATCH v4 1/7] dma: cppi41: handle 0-length packets

2014-05-26 Thread Daniel Mack
When a 0-length packet is received on the bus, desc-pd0 yields 1, which confuses the driver's users. This information is clearly wrong and not in accordance to the datasheet, but it's been observed on an AM335x board, very reproducible. Fix this by looking at bit 19 in PD2 of the completed