Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-27 Thread Joel Fernandes
On 09/27/2013 04:04 AM, Sekhar Nori wrote: > On 9/27/2013 5:58 AM, Joel Fernandes wrote: >> On 09/26/2013 06:13 PM, Olof Johansson wrote: >>> On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes wrote: HWMOD removal for MMC is breaking edma_start as the events are being manually trigger

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-27 Thread Joel Fernandes
On 09/27/2013 02:49 AM, Sekhar Nori wrote: > On 9/27/2013 5:58 AM, Joel Fernandes wrote: >> On 09/26/2013 06:13 PM, Olof Johansson wrote: >>> On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes wrote: HWMOD removal for MMC is breaking edma_start as the events are being manually trigger

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-27 Thread Sekhar Nori
On 9/27/2013 5:58 AM, Joel Fernandes wrote: > On 09/26/2013 06:13 PM, Olof Johansson wrote: >> On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes wrote: >>> HWMOD removal for MMC is breaking edma_start as the events are being >>> manually >>> triggered due to unused channel list not being clear. >>>

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-27 Thread Sekhar Nori
On 9/27/2013 5:58 AM, Joel Fernandes wrote: > On 09/26/2013 06:13 PM, Olof Johansson wrote: >> On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes wrote: >>> HWMOD removal for MMC is breaking edma_start as the events are being >>> manually >>> triggered due to unused channel list not being clear. >>>

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-26 Thread Joel Fernandes
On 09/26/2013 06:13 PM, Olof Johansson wrote: > On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes wrote: >> HWMOD removal for MMC is breaking edma_start as the events are being manually >> triggered due to unused channel list not being clear. >> >> The above issue is fixed by reading the "dmas" prop

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-26 Thread Olof Johansson
On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes wrote: > HWMOD removal for MMC is breaking edma_start as the events are being manually > triggered due to unused channel list not being clear. > > The above issue is fixed by reading the "dmas" property from the DT node if it > exists and clearing th

[PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-26 Thread Joel Fernandes
HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused channel list not being clear. The above issue is fixed by reading the "dmas" property from the DT node if it exists and clearing the bits in the unused channel list if the dma controller used by a

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-19 Thread Sekhar Nori
On Tuesday 17 September 2013 07:59 PM, Joel Fernandes wrote: > On 09/17/2013 01:05 AM, Sekhar Nori wrote: > [..] mixed messages. In short, we aim for consistency with situation today, not tomorrow. >>> >>> What you're asking to do infact breaks consistency with the rest of the >>> code.

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-17 Thread Joel Fernandes
On 09/17/2013 01:05 AM, Sekhar Nori wrote: [..] >>> mixed messages. In short, we aim for consistency with situation today, >>> not tomorrow. >> >> What you're asking to do infact breaks consistency with the rest of the code. > > Well, ideally we support second CC even with DT to be consistent all

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Sekhar Nori
On Tuesday 17 September 2013 11:08 AM, Joel Fernandes wrote: > On 09/17/2013 12:08 AM, Sekhar Nori wrote: > [..] I still cannot find any users of edma in the device tree sources either in linux-next or linus/master. Why cannot this wait until v3.13? >>> >>> I understand this affects only

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Joel Fernandes
On 09/17/2013 12:08 AM, Sekhar Nori wrote: [..] >>> I still cannot find any users of edma in the device tree sources either >>> in linux-next or linus/master. Why cannot this wait until v3.13? >> >> I understand this affects only DT users of EDMA. But I get so many private >> reports of breakage du

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Sekhar Nori
On Monday 16 September 2013 09:56 PM, Joel Fernandes wrote: > On 09/16/2013 06:48 AM, Sekhar Nori wrote: >> Hi Joel, >> >> On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote: >>> From: Joel Fernandes >>> Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA >>> resources

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Joel Fernandes
On 09/16/2013 06:48 AM, Sekhar Nori wrote: > Hi Joel, > > On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote: >> From: Joel Fernandes >> Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA >> resources >> >> HWMOD removal for MMC is breaking edma_start as the events a

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-16 Thread Sekhar Nori
Hi Joel, On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote: > From: Joel Fernandes > Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA > resources > > HWMOD removal for MMC is breaking edma_start as the events are being manually > triggered due to unused channel l

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-13 Thread Joel Fernandes
On 09/12/2013 04:58 AM, Sekhar Nori wrote: > On Wednesday 11 September 2013 12:22 AM, Joel Fernandes wrote: >> HWMOD removal for MMC is breaking edma_start as the events are being manually >> triggered due to unused channel list not being clear. [..] > It is better to send one version with all comm

Re: [PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-12 Thread Sekhar Nori
On Wednesday 11 September 2013 12:22 AM, Joel Fernandes wrote: > HWMOD removal for MMC is breaking edma_start as the events are being manually > triggered due to unused channel list not being clear. > > This patch fixes the issue, by reading the "dmas" property from the DT node if > it exists and

[PATCH v3] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-10 Thread Joel Fernandes
HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused channel list not being clear. This patch fixes the issue, by reading the "dmas" property from the DT node if it exists and clearing the bits in the unused channel list. For this purpose we use the