Re: [PATCHv3 3/6] arm64: irq: rework root IRQ handler registration

2021-03-24 Thread Will Deacon
On Mon, Mar 15, 2021 at 11:56:26AM +, Mark Rutland wrote: > If we accidentally unmask IRQs before we've registered a root IRQ > handler, handle_arch_irq will be NULL, and the IRQ exception handler > will branch to a bogus address. > > To make this easier to debug, this patch initialises

[PATCHv3 3/6] arm64: irq: rework root IRQ handler registration

2021-03-15 Thread Mark Rutland
If we accidentally unmask IRQs before we've registered a root IRQ handler, handle_arch_irq will be NULL, and the IRQ exception handler will branch to a bogus address. To make this easier to debug, this patch initialises handle_arch_irq to a default handler which will panic(), making such problems