Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Santosh Shilimkar
On Friday 09 May 2014 10:00 AM, Nishanth Menon wrote: > On 05/09/2014 08:45 AM, Santosh Shilimkar wrote: >> On Friday 09 May 2014 09:36 AM, Nishanth Menon wrote: [..] >> Looks like I am missing something. Is the issue because of SPI offset (32) >> which makes above confusion ? > > The way we mode

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Joel Fernandes
On 05/09/2014 09:00 AM, Nishanth Menon wrote: > On 05/09/2014 08:45 AM, Santosh Shilimkar wrote: >> On Friday 09 May 2014 09:36 AM, Nishanth Menon wrote: >>> On 05/09/2014 08:27 AM, Santosh Shilimkar wrote: On Friday 09 May 2014 08:54 AM, Nishanth Menon wrote: > On 05/08/2014 11:22 PM, Joe

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Nishanth Menon
On 05/09/2014 08:45 AM, Santosh Shilimkar wrote: > On Friday 09 May 2014 09:36 AM, Nishanth Menon wrote: >> On 05/09/2014 08:27 AM, Santosh Shilimkar wrote: >>> On Friday 09 May 2014 08:54 AM, Nishanth Menon wrote: On 05/08/2014 11:22 PM, Joel Fernandes wrote: > On Thu, May 8, 2014 at 7:25

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Santosh Shilimkar
On Friday 09 May 2014 09:36 AM, Nishanth Menon wrote: > On 05/09/2014 08:27 AM, Santosh Shilimkar wrote: >> On Friday 09 May 2014 08:54 AM, Nishanth Menon wrote: >>> On 05/08/2014 11:22 PM, Joel Fernandes wrote: On Thu, May 8, 2014 at 7:25 PM, Santosh Shilimkar wrote: >>> [...] Ok,

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Joel Fernandes
On 05/09/2014 08:27 AM, Santosh Shilimkar wrote: > On Friday 09 May 2014 08:54 AM, Nishanth Menon wrote: >> On 05/08/2014 11:22 PM, Joel Fernandes wrote: >>> On Thu, May 8, 2014 at 7:25 PM, Santosh Shilimkar >>> wrote: >> [...] >>> Ok, thanks for pointing to the post. >>> >> >> >> Yep - thanks San

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Nishanth Menon
On 05/09/2014 08:36 AM, Joel Fernandes wrote: > Hi Nishanth, > > On 05/09/2014 07:54 AM, Nishanth Menon wrote: > [..] >> Yep - thanks Santosh for clarifying this. Now, we still have the >> issues that I pointed out in [1] - without resolving which, we should >> not enable crossbar for dra74x/72x.

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Joel Fernandes
On 05/09/2014 08:36 AM, Joel Fernandes wrote: > Hi Nishanth, > > On 05/09/2014 07:54 AM, Nishanth Menon wrote: > [..] >> Yep - thanks Santosh for clarifying this. Now, we still have the >> issues that I pointed out in [1] - without resolving which, we should >> not enable crossbar for dra74x/72x.

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Joel Fernandes
Hi Nishanth, On 05/09/2014 07:54 AM, Nishanth Menon wrote: [..] > Yep - thanks Santosh for clarifying this. Now, we still have the > issues that I pointed out in [1] - without resolving which, we should > not enable crossbar for dra74x/72x. > > A. taking example of PMU > interrupts = > thi

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Nishanth Menon
On 05/09/2014 08:27 AM, Santosh Shilimkar wrote: > On Friday 09 May 2014 08:54 AM, Nishanth Menon wrote: >> On 05/08/2014 11:22 PM, Joel Fernandes wrote: >>> On Thu, May 8, 2014 at 7:25 PM, Santosh Shilimkar >>> wrote: >> [...] >>> Ok, thanks for pointing to the post. >>> >> >> >> Yep - thanks San

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Santosh Shilimkar
On Friday 09 May 2014 08:54 AM, Nishanth Menon wrote: > On 05/08/2014 11:22 PM, Joel Fernandes wrote: >> On Thu, May 8, 2014 at 7:25 PM, Santosh Shilimkar >> wrote: > [...] >> Ok, thanks for pointing to the post. >> > > > Yep - thanks Santosh for clarifying this. Now, we still have the > issues

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-09 Thread Nishanth Menon
On 05/08/2014 11:22 PM, Joel Fernandes wrote: > On Thu, May 8, 2014 at 7:25 PM, Santosh Shilimkar > wrote: [...] > Ok, thanks for pointing to the post. > Yep - thanks Santosh for clarifying this. Now, we still have the issues that I pointed out in [1] - without resolving which, we should not en

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Joel Fernandes
On Thu, May 8, 2014 at 7:25 PM, Santosh Shilimkar wrote: [..] > The concern was really not where the code resides but what the actual > hardware is and how can it fit into Linux. The whole reason I was > actually against irqhcip from beginning of crossbar series was the > hardware is not irqchip r

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Santosh Shilimkar
On Thursday 08 May 2014 08:13 PM, Joel Fernandes wrote: > On Thu, May 8, 2014 at 6:05 PM, Santosh Shilimkar > wrote: > [..] >>> Further since not everything goes through the crossbar and some are >>> direct mapped like your diagram, the correct fix is probably making it >>> an irqchip and doing th

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Joel Fernandes
On Thu, May 8, 2014 at 6:05 PM, Santosh Shilimkar wrote: [..] >> Further since not everything goes through the crossbar and some are >> direct mapped like your diagram, the correct fix is probably making it >> an irqchip and doing the interrupt controller parenting correctly in >> DT. >> >> That w

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Santosh Shilimkar
On Thursday 08 May 2014 06:43 PM, Joel Fernandes wrote: > On Thu, May 8, 2014 at 3:37 PM, Nishanth Menon wrote: >> On 14:24-20140508, Joel Fernandes wrote: >>> On 05/05/2014 09:18 AM, Sricharan R wrote: From: Nishanth Menon When, in the system due to varied reasons, interrupts migh

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Joel Fernandes
On Thu, May 8, 2014 at 3:37 PM, Nishanth Menon wrote: > On 14:24-20140508, Joel Fernandes wrote: >> On 05/05/2014 09:18 AM, Sricharan R wrote: >> > From: Nishanth Menon >> > >> > When, in the system due to varied reasons, interrupts might be unusable >> > due to hardware behavior, but register ma

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Nishanth Menon
On 14:24-20140508, Joel Fernandes wrote: > On 05/05/2014 09:18 AM, Sricharan R wrote: > > From: Nishanth Menon > > > > When, in the system due to varied reasons, interrupts might be unusable > > due to hardware behavior, but register maps do exist, then those interrupts > > should be skipped whil

Re: [PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-08 Thread Joel Fernandes
On 05/05/2014 09:18 AM, Sricharan R wrote: > From: Nishanth Menon > > When, in the system due to varied reasons, interrupts might be unusable > due to hardware behavior, but register maps do exist, then those interrupts > should be skipped while mapping irq to crossbars. > Just wondering, inste

[PATCH 3/5] irqchip: crossbar: Skip some irqs from getting mapped to crossbar

2014-05-05 Thread Sricharan R
From: Nishanth Menon When, in the system due to varied reasons, interrupts might be unusable due to hardware behavior, but register maps do exist, then those interrupts should be skipped while mapping irq to crossbars. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- drivers/irqch