Re: [PATCH] arm64: fix potential deadlock in arm64-provide-pseudo-NMI-with-GICv3

2019-01-29 Thread Julien Thierry
Hi Wei, Thanks testing the series. On 29/01/2019 13:12, Wei Li wrote: > In some exception handlers, the interrupt is not reenabled by daifclr at > first. > The later process may call local_irq_enable() to enable the interrupt, like > gic_handle_irq(). As we known, function local_irq_enable() jus

[PATCH] arm64: fix potential deadlock in arm64-provide-pseudo-NMI-with-GICv3

2019-01-29 Thread Wei Li
In some exception handlers, the interrupt is not reenabled by daifclr at first. The later process may call local_irq_enable() to enable the interrupt, like gic_handle_irq(). As we known, function local_irq_enable() just change the pmr now. The following codes what i found may cause a deadlock or s