Re: [PATCH v2 3/4] irqchip: sifive-plic: Differentiate between PLIC handler and context

2018-11-29 Thread Anup Patel
On Fri, Nov 30, 2018 at 7:27 AM Atish Patra wrote: > > On 11/27/18 2:04 AM, Anup Patel wrote: > > We explicitly differentiate between PLIC handler and context because > > PLIC context is for given mode of HART whereas PLIC handler is per-CPU > > software construct meant for handling interrupts fro

Re: [PATCH v2 3/4] irqchip: sifive-plic: Differentiate between PLIC handler and context

2018-11-29 Thread Atish Patra
On 11/27/18 2:04 AM, Anup Patel wrote: We explicitly differentiate between PLIC handler and context because PLIC context is for given mode of HART whereas PLIC handler is per-CPU software construct meant for handling interrupts from a particular PLIC context. Signed-off-by: Anup Patel --- dri

[PATCH v2 3/4] irqchip: sifive-plic: Differentiate between PLIC handler and context

2018-11-27 Thread Anup Patel
We explicitly differentiate between PLIC handler and context because PLIC context is for given mode of HART whereas PLIC handler is per-CPU software construct meant for handling interrupts from a particular PLIC context. Signed-off-by: Anup Patel --- drivers/irqchip/irq-sifive-plic.c | 21 ++