Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-25 Thread Cheng Chao
on 10/25/2016 06:09 PM, Marc Zyngier wrote: > On 15/10/16 08:23, Cheng Chao wrote: >> On 10/15/2016 01:33 AM, Marc Zyngier wrote: on 10/13/2016 11:31 PM, Marc Zyngier wrote: > On Thu, 13 Oct 2016 18:57:14 +0800 > Cheng Chao wrote: > >> GIC can distribute an interrupt to more

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-25 Thread Marc Zyngier
On 15/10/16 08:23, Cheng Chao wrote: > On 10/15/2016 01:33 AM, Marc Zyngier wrote: >>> on 10/13/2016 11:31 PM, Marc Zyngier wrote: On Thu, 13 Oct 2016 18:57:14 +0800 Cheng Chao wrote: > GIC can distribute an interrupt to more than one cpu, > but now, gic_set_affinity sets on

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-15 Thread Cheng Chao
On 10/15/2016 01:33 AM, Marc Zyngier wrote: on 10/13/2016 11:31 PM, Marc Zyngier wrote: On Thu, 13 Oct 2016 18:57:14 +0800 Cheng Chao wrote: GIC can distribute an interrupt to more than one cpu, but now, gic_set_affinity sets only one cpu to handle interrupt. What makes you think this is a

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-14 Thread Marc Zyngier
On 14/10/16 03:08, Cheng Chao wrote: > Marc, > > Thanks for your comments. > > Cheng > > on 10/13/2016 11:31 PM, Marc Zyngier wrote: >> On Thu, 13 Oct 2016 18:57:14 +0800 >> Cheng Chao wrote: >> >>> GIC can distribute an interrupt to more than one cpu, >>> but now, gic_set_affinity sets only

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-13 Thread Cheng Chao
Marc, Thanks for your comments. Cheng on 10/13/2016 11:31 PM, Marc Zyngier wrote: > On Thu, 13 Oct 2016 18:57:14 +0800 > Cheng Chao wrote: > >> GIC can distribute an interrupt to more than one cpu, >> but now, gic_set_affinity sets only one cpu to handle interrupt. > > What makes you think

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-13 Thread Marc Zyngier
On Thu, 13 Oct 2016 18:57:14 +0800 Cheng Chao wrote: > GIC can distribute an interrupt to more than one cpu, > but now, gic_set_affinity sets only one cpu to handle interrupt. What makes you think this is a good idea? What purpose does it serves? I can only see drawbacks to this: You're waking u

Re: [PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-13 Thread Cheng Chao
Hi, This patch has been tested on the SOC: ti AM572x and hisilicon hi35xx, it works. Please review this patch. Any suggestions will be welcome,thanks. Cheng on 10/13/2016 06:57 PM, Cheng Chao wrote: > GIC can distribute an interrupt to more than one cpu, > but now, gic_set_affinity sets only one

[PATCH] irqchip/gic: Enable gic_set_affinity set more than one cpu

2016-10-13 Thread Cheng Chao
GIC can distribute an interrupt to more than one cpu, but now, gic_set_affinity sets only one cpu to handle interrupt. Signed-off-by: Cheng Chao --- drivers/irqchip/irq-gic.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-gic