On Wed, 06 Sep 2023 17:02:56 +0100, Douglas Anderson <diand...@chromium.org> wrote: > > As of commit 6abbd6988971 ("irqchip/gic, gic-v3: Make SGIs use > handle_percpu_devid_irq()") SGIs are treated the same as PPIs/EPPIs > and use handle_percpu_devid_irq() by default. Unfortunately, > handle_percpu_devid_irq() isn't NMI safe, and so to run in an NMI > context those should use handle_percpu_devid_fasteoi_nmi(). > > In order to accomplish this, we just have to make room for SGIs in the > array of refcounts that keeps track of which interrupts are set as > NMI. We also rename the array and create a new indexing scheme that > accounts for SGIs. > > Also, enable NMI support prior to gic_smp_init() as allocation of SGIs > as IRQs/NMIs happen as part of this routine. > > Co-developed-by: Sumit Garg <sumit.g...@linaro.org> > Signed-off-by: Sumit Garg <sumit.g...@linaro.org> > Acked-by: Mark Rutland <mark.rutl...@arm.com> > Tested-by: Chen-Yu Tsai <we...@chromium.org> > Signed-off-by: Douglas Anderson <diand...@chromium.org>
Acked-by: Marc Zyngier <m...@kernel.org> M. -- Without deviation from the norm, progress is not possible. _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport