Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-21 Thread Tomasz Figa
[Copying Daniel] On Tuesday 20 of August 2013 15:39:17 Stephen Boyd wrote: On 08/21, Tomasz Figa wrote: On Tuesday 20 of August 2013 22:14:42 Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity

[PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back to any possible CPU if no online CPU can be found in requested CPU mask. This fixes broken Exynos4210

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Stephen Boyd
On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back to any possible CPU if no online CPU can be found in

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 09:33:31 Stephen Boyd wrote: On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Stephen Boyd
On 08/20/13 09:41, Tomasz Figa wrote: On Tuesday 20 of August 2013 09:33:31 Stephen Boyd wrote: On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity()

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 09:48:25 Stephen Boyd wrote: On 08/20/13 09:41, Tomasz Figa wrote: On Tuesday 20 of August 2013 09:33:31 Stephen Boyd wrote: On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back to any possible CPU if no online CPU

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 22:14:42 Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity()

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Stephen Boyd
On 08/21, Tomasz Figa wrote: On Tuesday 20 of August 2013 22:14:42 Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch