Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-04 Thread Stefan Agner
On 2014-12-03 20:04, Marc Zyngier wrote: snip What do you mean by the shared state in the drawing above? Currently, I check whether a interrupt is already used by the other core by reading the register (do this configuration register reflect the shared state in your drawing?). I think that

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-04 Thread Marc Zyngier
On 04/12/14 13:35, Stefan Agner wrote: On 2014-12-03 20:04, Marc Zyngier wrote: snip What do you mean by the shared state in the drawing above? Currently, I check whether a interrupt is already used by the other core by reading the register (do this configuration register reflect the shared

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-04 Thread Stefan Agner
On 2014-12-04 14:42, Marc Zyngier wrote: On 04/12/14 13:35, Stefan Agner wrote: On 2014-12-03 20:04, Marc Zyngier wrote: snip What do you mean by the shared state in the drawing above? Currently, I check whether a interrupt is already used by the other core by reading the register (do this

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-03 Thread Arnd Bergmann
On Wednesday 03 December 2014 01:12:02 Stefan Agner wrote: The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it depend on this configuration. This also allows other SoC interrupt controller to provide such a function. Signed-off-by: Stefan Agner

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, Arnd Bergmann wrote: On Wednesday 03 December 2014 01:12:02 Stefan Agner wrote: The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it depend on this configuration. This also allows other SoC interrupt controller to provide

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-03 Thread Stefan Agner
On 2014-12-03 14:04, Thomas Gleixner wrote: On Wed, 3 Dec 2014, Arnd Bergmann wrote: On Wednesday 03 December 2014 01:12:02 Stefan Agner wrote: The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it depend on this configuration. This also allows

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-03 Thread Marc Zyngier
Hi Stefan, On 03/12/14 17:28, Stefan Agner wrote: On 2014-12-03 14:04, Thomas Gleixner wrote: On Wed, 3 Dec 2014, Arnd Bergmann wrote: On Wednesday 03 December 2014 01:12:02 Stefan Agner wrote: The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it

Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, Marc Zyngier wrote: On 03/12/14 17:28, Stefan Agner wrote: On 2014-12-03 14:04, Thomas Gleixner wrote: The shared interrupts are allocated through the router domain which decides whether the interrupt can be assigned to a particular core or not. If it can be assigned

[PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-02 Thread Stefan Agner
The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it depend on this configuration. This also allows other SoC interrupt controller to provide such a function. Signed-off-by: Stefan Agner ste...@agner.ch --- include/linux/irqchip/arm-gic.h | 3 +++ 1