Re: [PATCH v5 1/2] PM: sleep: Rename module parameters prefix to "pm_sleep"

From: Rafael J. Wysocki (Intel)

Date: Wed Jul 01 2026 - 07:30:58 EST


On Wed, Jul 1, 2026 at 9:20 AM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Jul 01, 2026 at 04:56:39AM +0000, Tzung-Bi Shih wrote:
> > Currently, the module parameters defined in drivers/base/power/main.c
> > use the default prefix "main" (derived from the filename). The prefix
> > is too generic and non-descriptive.
> >
> > Redefine MODULE_PARAM_PREFIX to "pm_sleep." to group the module
> > parameters under the namespace instead. This makes the parameters more
> > descriptive.
>
> You just changed the user/kernel api, right? That will break things...

Or not, if that part of the ABI is not really used or the users of it
can live with the change.

This actually is an attempt to correct a mistake in the ABI and only
one module parameter is affected by this change
(dpm_watchdog_all_cpu_backtrace). I'm not expecting the people using
it to get a particular heartburn about the change. Or if they do,
we'll back off.

I'm now thinking though that using "pm" as the new prefix might be better.