Re: [PATCH 2/3] irqchip/irq-sifive-plic: Fixup couldn't broadcast to multi CPUs

2020-10-23 Thread Guo Ren
On Fri, Oct 23, 2020 at 8:17 PM Anup Patel wrote: > > On Fri, Oct 23, 2020 at 3:48 PM wrote: > > > > From: Guo Ren > > > > If "echo 3 > /proc/irq/1/smp_affinity", we want irq 1 could be > > broadcast to CPU0 & CPU1 and one of them would pick up the irq > > handler. > > > > But current

Re: [PATCH 2/3] irqchip/irq-sifive-plic: Fixup couldn't broadcast to multi CPUs

2020-10-23 Thread Anup Patel
On Fri, Oct 23, 2020 at 3:48 PM wrote: > > From: Guo Ren > > If "echo 3 > /proc/irq/1/smp_affinity", we want irq 1 could be > broadcast to CPU0 & CPU1 and one of them would pick up the irq > handler. > > But current implementation couldn't let multi CPUs process the > same IRQ concurrent. > >

[PATCH 2/3] irqchip/irq-sifive-plic: Fixup couldn't broadcast to multi CPUs

2020-10-23 Thread guoren
From: Guo Ren If "echo 3 > /proc/irq/1/smp_affinity", we want irq 1 could be broadcast to CPU0 & CPU1 and one of them would pick up the irq handler. But current implementation couldn't let multi CPUs process the same IRQ concurrent. Signed-off-by: Guo Ren ---