Re: [PATCH v2 2/4] irqchip: sifive-plic: More flexible plic_irq_toggle()

2018-11-29 Thread Anup Patel
On Fri, Nov 30, 2018 at 7:09 AM Atish Patra wrote: > > On 11/27/18 2:03 AM, Anup Patel wrote: > > We make plic_irq_toggle() more generic so that we can enable/disable > > hwirq for given cpumask. This generic plic_irq_toggle() will be > > eventually used to implement set_affinity for PLIC driver.

Re: [PATCH v2 2/4] irqchip: sifive-plic: More flexible plic_irq_toggle()

2018-11-29 Thread Atish Patra
On 11/27/18 2:03 AM, Anup Patel wrote: We make plic_irq_toggle() more generic so that we can enable/disable hwirq for given cpumask. This generic plic_irq_toggle() will be eventually used to implement set_affinity for PLIC driver. Signed-off-by: Anup Patel --- drivers/irqchip/irq-sifive-plic.

[PATCH v2 2/4] irqchip: sifive-plic: More flexible plic_irq_toggle()

2018-11-27 Thread Anup Patel
We make plic_irq_toggle() more generic so that we can enable/disable hwirq for given cpumask. This generic plic_irq_toggle() will be eventually used to implement set_affinity for PLIC driver. Signed-off-by: Anup Patel --- drivers/irqchip/irq-sifive-plic.c | 79 +++ 1