Re: [PATCH] PM: dpm: add module param to backtrace all CPUs

From: Sergey Senozhatsky
Date: Wed Sep 17 2025 - 01:14:09 EST


On (25/08/20 11:04), Sergey Senozhatsky wrote:
> On (25/08/19 21:35), Rafael J. Wysocki wrote:
> > On Thu, Jul 31, 2025 at 5:01 AM Sergey Senozhatsky
> > <senozhatsky@xxxxxxxxxxxx> wrote:
> > >
> > > Add dpm_all_cpu_backtrace module parameter which controls
> > > all CPU backtrace dump before DPM panics the system.
> >
> > This is exclusively about the DPM watchdog, so the module parameter
> > name should reflect that.
>
> I thought dpm in dpm_all_cpu_backtrace explains that. Should
> I rename it so something like dpm_watchdog_all_cpu_backtrace?
> Any better suggestions?

Gentle ping.

Rafael, are you OK with dpm_watchdog_all_cpu_backtrace name?

Or maybe we can have a bitmask dmp_watchdog_print_flags and
various bits can control different things to print/do during
panic. E.g. dmp_watchdog_print_flags=0x1 can backtrace all CPUs,
0x2 can do something else, etc.