Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2016-01-29 Thread Noam Camus
...@vger.kernel.org; Chris Metcalf; daniel.lezc...@linaro.org; Thomas Gleixner; Jason Cooper Subject: Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips Hi Marc, On Friday 18 December 2015 10:01 PM, Marc Zyngier wrote: > On 18/12/15 14:29, Noam Camus wrote: >>> From:

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2016-01-25 Thread Vineet Gupta
Hi Marc, On Friday 18 December 2015 10:01 PM, Marc Zyngier wrote: > On 18/12/15 14:29, Noam Camus wrote: >>> From: Marc Zyngier [mailto:marc.zyng...@arm.com] >>> Sent: Friday, December 18, 2015 1:21 PM >> I need this for my per CPU irqs such timer and IPI which do not come from some ex

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2016-01-12 Thread Marc Zyngier
On 12/01/16 09:12, Vineet Gupta wrote: [...] >> HANDLE_DOMAIN_IRQ is not mandatory at all - a number of architectures >> had something open-coded in the past (with some drawbacks and/or bugs), >> and this config option is just one of the ways to get it right. >> >> MIPS/PPC perform the reverse lo

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2016-01-12 Thread Vineet Gupta
On Tuesday 12 January 2016 02:18 PM, Marc Zyngier wrote: > Hi Vineet, > > Sorry I missed that one, it must have been caught in the mother of all > "mark as read" I did on coming back from holiday. That was expected - NP :-) > > On 12/01/16 07:00, Vineet Gupta wrote: >> > Hi Marc, >> > >> > On We

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2016-01-12 Thread Marc Zyngier
Hi Vineet, Sorry I missed that one, it must have been caught in the mother of all "mark as read" I did on coming back from holiday. On 12/01/16 07:00, Vineet Gupta wrote: > Hi Marc, > > On Wednesday 30 December 2015 05:05 PM, Vineet Gupta wrote: >> On Friday 18 December 2015 10:01 PM, Marc Zyngi

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2016-01-11 Thread Vineet Gupta
Hi Marc, On Wednesday 30 December 2015 05:05 PM, Vineet Gupta wrote: > On Friday 18 December 2015 10:01 PM, Marc Zyngier wrote: >> On 18/12/15 14:29, Noam Camus wrote: From: Marc Zyngier [mailto:marc.zyng...@arm.com] Sent: Friday, December 18, 2015 1:21 PM >>> > I need this for my p

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-30 Thread Vineet Gupta
On Friday 18 December 2015 10:01 PM, Marc Zyngier wrote: > On 18/12/15 14:29, Noam Camus wrote: >>> From: Marc Zyngier [mailto:marc.zyng...@arm.com] >>> Sent: Friday, December 18, 2015 1:21 PM >> I need this for my per CPU irqs such timer and IPI which do not come from some external dev

RE: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-19 Thread Noam Camus
>From: Marc Zyngier [mailto:marc.zyng...@arm.com] >Sent: Friday, December 18, 2015 6:31 PM >> Note that I am working with ARC (seem alike) here and we do not define >> CONFIG_HANDLE_DOMAIN_IRQ and do not implement set_handle_irq(). >> >> So for ARC this reverse mapping is something we can leave

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-18 Thread Marc Zyngier
On 18/12/15 14:29, Noam Camus wrote: >> From: Marc Zyngier [mailto:marc.zyng...@arm.com] >> Sent: Friday, December 18, 2015 1:21 PM > >>> I need this for my per CPU irqs such timer and IPI which do not come >>> from some external device but from CPUs. For these IRQs I am calling >>> to irq_crea

RE: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-18 Thread Noam Camus
>From: Marc Zyngier [mailto:marc.zyng...@arm.com] >Sent: Friday, December 18, 2015 1:21 PM >> I need this for my per CPU irqs such timer and IPI which do not come >> from some external device but from CPUs. For these IRQs I am calling >> to irq_create_mapping() from my platform at arch/arc and

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-18 Thread Marc Zyngier
On 18/12/15 10:37, Noam Camus wrote: > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Wednesday, December 16, 2015 11:31 AM > >>> +static int __init nps400_of_init(struct device_node *node, >>> +struct device_node *parent) >>> +{ >>> + if (parent) >>> +

RE: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-18 Thread Noam Camus
From: Marc Zyngier [mailto:marc.zyng...@arm.com] Sent: Wednesday, December 16, 2015 11:31 AM >> +static int __init nps400_of_init(struct device_node *node, >> + struct device_node *parent) >> +{ >> +if (parent) >> +panic("DeviceTree incore ic not a root

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-16 Thread Marc Zyngier
On 16/12/15 01:10, Noam Camus wrote: > From: Noam Camus > > Adding EZchip NPS400 support. > NPS internal interrupts are internally handled at > Multi Thread Manager (MTM) that is signaled for deactivating > an interrupt. > External interrupts is handled also at Global Interrupt > Controller (GIC)

[PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-15 Thread Noam Camus
From: Noam Camus Adding EZchip NPS400 support. NPS internal interrupts are internally handled at Multi Thread Manager (MTM) that is signaled for deactivating an interrupt. External interrupts is handled also at Global Interrupt Controller (GIC) e.g. serial and network devices. Signed-off-by: Noa