Re: [PATCH 1/2] nmi: Export CPU backtrace APIs for loadable modules
Guenter Roeck <[email protected]>
| Newsgroups | org.kernel.vger.linux-watchdog,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 30, 2026 at 03:00:21PM -0700, Mayank Rungta wrote: > From: Mayank Rungta <[email protected]> > > Currently, CPU backtrace functions cannot be called from loadable > modules because the underlying helper arch_trigger_cpumask_backtrace() > is not exported. > > Instead of exporting arch_trigger_cpumask_backtrace() individually > across every supported architecture, introduce and export a common > helper, cpumask_backtrace(), in lib/nmi_backtrace.c. Update the four > inline CPU backtrace macros in include/linux/nmi.h to route through this > centralized helper. > > Signed-off-by: Mayank Rungta <[email protected]> > Reviewed-by: Douglas Anderson <[email protected]> > Reviewed-by: Andrew Morton <[email protected]> Applied. Thanks, Guenter