Re: [PATCH v7 04/15] irqchip: RISC-V Local Interrupt Controller Driver

2017-08-16 Thread Thomas Gleixner
On Mon, 31 Jul 2017, Palmer Dabbelt wrote: > +static void riscv_software_interrupt(void) > +{ > +#ifdef CONFIG_SMP > + irqreturn_t ret; > + > + ret = handle_ipi(); > + > + WARN_ON(ret == IRQ_NONE); WARN_ON(handle_ipi() == IRQ_NONE); perhaps? > +#else > + /* > + * We

Re: [PATCH v7 04/15] irqchip: RISC-V Local Interrupt Controller Driver

2017-08-01 Thread Rob Herring
On Mon, Jul 31, 2017 at 7:59 PM, Palmer Dabbelt wrote: > This patch adds a driver that manages the local interrupts on each > RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. > The local interrupt controller manages software interrupts, timer > interrupts, and hardware interrup

Re: [PATCH v7 04/15] irqchip: RISC-V Local Interrupt Controller Driver

2017-08-01 Thread Randy Dunlap
On 07/31/2017 05:59 PM, Palmer Dabbelt wrote: > This patch adds a driver that manages the local interrupts on each > RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. > The local interrupt controller manages software interrupts, timer > interrupts, and hardware interrupts (which