RE: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current handler is present

2020-05-17 Thread Anup Patel
rancis ; Anup Patel ; linux- > ri...@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current > handler is present > > > > > -Original Message- > > From: Marc Zyngier > > Sen

RE: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current handler is present

2020-05-16 Thread Anup Patel
l@vger.kernel.org > Subject: Re: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current > handler is present > > On 2020-05-16 13:52, Anup Patel wrote: > >> -Original Message- > >> From: Marc Zyngier > >> Sent: 16 May 2020 17:42 > >

Re: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current handler is present

2020-05-16 Thread Marc Zyngier
@vger.kernel.org Subject: Re: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current handler is present Hi Anup, On 2020-05-16 07:38, Anup Patel wrote: > For multiple PLIC instances, the plic_init() is called once for each > PLIC instance. Due to this we have two issue

RE: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current handler is present

2020-05-16 Thread Anup Patel
l@vger.kernel.org > Subject: Re: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current > handler is present > > Hi Anup, > > On 2020-05-16 07:38, Anup Patel wrote: > > For multiple PLIC instances, the plic_init() is called once for each > > PLIC instance.

Re: [PATCH 1/4] irqchip/sifive-plic: Setup cpuhp once after current handler is present

2020-05-16 Thread Marc Zyngier
Hi Anup, On 2020-05-16 07:38, Anup Patel wrote: For multiple PLIC instances, the plic_init() is called once for each PLIC instance. Due to this we have two issues: 1. cpuhp_setup_state() is called multiple times 2. plic_starting_cpu() can crash for boot CPU if cpuhp_setup_state() is called