Re: [PATCH v5 3/5] arm64: smp: Allocate and setup IPI as NMI

2020-10-20 Thread Sumit Garg
On Mon, 19 Oct 2020 at 17:29, Marc Zyngier wrote: > > On 2020-10-14 12:12, Sumit Garg wrote: > > Allocate an unused IPI that can be turned as NMI using ipi_nmi > > framework. > > This doesn't do any allocation, as far as I can see. It relies on > the initial grant from the interrupt controller to

Re: [PATCH v5 3/5] arm64: smp: Allocate and setup IPI as NMI

2020-10-19 Thread Marc Zyngier
On 2020-10-14 12:12, Sumit Garg wrote: Allocate an unused IPI that can be turned as NMI using ipi_nmi framework. This doesn't do any allocation, as far as I can see. It relies on the initial grant from the interrupt controller to be larger than what the kernel currently uses. Also, invoke

Re: [PATCH v5 3/5] arm64: smp: Allocate and setup IPI as NMI

2020-10-14 Thread Masayoshi Mizuma
On Wed, Oct 14, 2020 at 04:42:09PM +0530, Sumit Garg wrote: > Allocate an unused IPI that can be turned as NMI using ipi_nmi framework. > Also, invoke corresponding NMI setup/teardown APIs. > > Signed-off-by: Sumit Garg > --- > arch/arm64/kernel/smp.c | 8 > 1 file changed, 8

[PATCH v5 3/5] arm64: smp: Allocate and setup IPI as NMI

2020-10-14 Thread Sumit Garg
Allocate an unused IPI that can be turned as NMI using ipi_nmi framework. Also, invoke corresponding NMI setup/teardown APIs. Signed-off-by: Sumit Garg --- arch/arm64/kernel/smp.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index