Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-17 Thread Scott Wood
On Tue, 2013-12-17 at 16:48 +0800, Li Yang wrote: > On Wed, Dec 11, 2013 at 2:33 AM, Scott Wood wrote: > > On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: > >> Scott, > >> This issue is due to the non-continuous MPIC register, I think there is > >> two ways to fix it. > >> > >> The first on

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-17 Thread Li Yang
On Wed, Dec 11, 2013 at 2:33 AM, Scott Wood wrote: > On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: >> Scott, >> This issue is due to the non-continuous MPIC register, I think there is >> two ways to fix it. >> >> The first one is as what we are discussing, in fact the Bman/Qman DT >> auth

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-12 Thread Hongbo Zhang
On 12/11/2013 02:33 AM, Scott Wood wrote: On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: Scott, This issue is due to the non-continuous MPIC register, I think there is two ways to fix it. The first one is as what we are discussing, in fact the Bman/Qman DT author had introduced this wa

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-10 Thread Scott Wood
On Tue, 2013-12-10 at 18:33 +0800, Hongbo Zhang wrote: > Scott, > This issue is due to the non-continuous MPIC register, I think there is > two ways to fix it. > > The first one is as what we are discussing, in fact the Bman/Qman DT > author had introduced this way, and I had to follow it, it is

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-10 Thread Hongbo Zhang
Scott, This issue is due to the non-continuous MPIC register, I think there is two ways to fix it. The first one is as what we are discussing, in fact the Bman/Qman DT author had introduced this way, and I had to follow it, it is a trick, adding 208 is a bit ugly I think, and even difficult t

Re: [PATCH] DTS: DMA: Fix DMA3 interrupts

2013-12-06 Thread Scott Wood
On Fri, 2013-11-29 at 16:07 +0800, hongbo.zh...@freescale.com wrote: > From: Hongbo Zhang > > MPIC registers for internal interrupts is non-continous in address, any > internal interrupt number greater than 159 should be added (16+208) to work. > 16 is due to external interrupts as usual, 208 is

[PATCH] DTS: DMA: Fix DMA3 interrupts

2013-11-29 Thread hongbo.zhang
From: Hongbo Zhang MPIC registers for internal interrupts is non-continous in address, any internal interrupt number greater than 159 should be added (16+208) to work. 16 is due to external interrupts as usual, 208 is due to the non-continous MPIC register space. Tested on T4240 rev2 with SRIO2 d