Re: [PATCH v13 0/7] arm64: Add IPI for backtraces / kgdb; try to use NMI for some IPIs

From: Catalin Marinas
Date: Mon Sep 25 2023 - 13:10:22 EST


On Wed, 06 Sep 2023 09:02:55 -0700, Douglas Anderson wrote:
> This is an attempt to resurrect Sumit's old patch series [1] that
> allowed us to use the arm64 pseudo-NMI to get backtraces of CPUs and
> also to round up CPUs in kdb/kgdb. The last post from Sumit that I
> could find was v7, so I started my series at v8. I haven't copied all
> of his old changelongs here, but you can find them from the link.
>
> This patch series targets v6.6. Specifically it can't land in v6.5
> since it depends on commit 8d539b84f1e3 ("nmi_backtrace: allow
> excluding an arbitrary CPU").
>
> [...]

Applied to arm64 (for-next/backtrace-ipi), thanks!

[1/7] irqchip/gic-v3: Enable support for SGIs to act as NMIs
https://git.kernel.org/arm64/c/a02026bf9da1
[2/7] arm64: idle: Tag the arm64 idle functions as __cpuidle
https://git.kernel.org/arm64/c/d0c14a7d36f0
[3/7] arm64: smp: Remove dedicated wakeup IPI
https://git.kernel.org/arm64/c/2b2d0a7a96ab
[4/7] arm64: smp: Add arch support for backtrace using pseudo-NMI
https://git.kernel.org/arm64/c/331a1b3a836c
[5/7] arm64: smp: IPI_CPU_STOP and IPI_CPU_CRASH_STOP should try for NMI
https://git.kernel.org/arm64/c/d7402513c935
[6/7] arm64: kgdb: Implement kgdb_roundup_cpus() to enable pseudo-NMI roundup
https://git.kernel.org/arm64/c/2f5cd0c7ffde
[7/7] arm64: smp: Mark IPI globals as __ro_after_init
https://git.kernel.org/arm64/c/62817d5ba25d

--
Catalin