Re: [PATCH v5 1/6] RISC-V: self-contained IPI handling routine

2020-05-28 Thread Palmer Dabbelt
On Thu, 21 May 2020 06:32:56 PDT (-0700), Anup Patel wrote: Currently, the IPI handling routine riscv_software_interrupt() does not take any argument and also does not perform irq_enter()/irq_exit(). This patch makes IPI handling routine more self-contained by: 1. Passing "pt_regs *" argument 2.

Re: [PATCH v5 1/6] RISC-V: self-contained IPI handling routine

2020-05-28 Thread Atish Patra
On Thu, May 21, 2020 at 6:34 AM Anup Patel wrote: > > Currently, the IPI handling routine riscv_software_interrupt() does > not take any argument and also does not perform irq_enter()/irq_exit(). > > This patch makes IPI handling routine more self-contained by: > 1. Passing "pt_regs *" argument >

[PATCH v5 1/6] RISC-V: self-contained IPI handling routine

2020-05-21 Thread Anup Patel
Currently, the IPI handling routine riscv_software_interrupt() does not take any argument and also does not perform irq_enter()/irq_exit(). This patch makes IPI handling routine more self-contained by: 1. Passing "pt_regs *" argument 2. Explicitly doing irq_enter()/irq_exit() 3. Explicitly save/re