[PATCH] soc: fujitsu: Add A64FX diagnostic interrupt driver

Arnd Bergmann arnd at arndb.de
Fri Feb 25 03:20:31 PST 2022


On Fri, Feb 25, 2022 at 11:35 AM hasegawa-hitomi at fujitsu.com
<hasegawa-hitomi at fujitsu.com> wrote:
>
> Hi Greg and Jiri,
>
> I'm trying to implement a feature for A64FX that will panic when
> a diagnostic interrupt is received.
> Arnd suggested that handle_sysrq() should be used
> but I'm wonderingif it's ok to call it in NMI.
> Would you please let me know if we can call handle_sysrq() in NMI?

I see some work from Sumit Garg to make it possible, but this was never
merged, so presumably it is not safe:

https://lore.kernel.org/linux-arm-kernel/CAFA6WYOWHgmYYt=KGXDh2hKiuy_rQbJfi279ev0+s-Qh7L21kA@mail.gmail.com/t/#m2b5006f08581448020eb24566927a104d0b95c44

Sumit has worked on some related areas as well, and may have additional
ideas for you.

        Arnd



More information about the linux-arm-kernel mailing list