Re: [PATCH v3] PM / sleep: add configurable delay for pm_test

From: Rafael J. Wysocki
Date: Fri May 09 2025 - 10:08:26 EST


On Wed, May 7, 2025 at 5:49 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
>
>
> On 5/6/25 11:35 PM, Zihuan Zhang wrote:
> > This patch turns this 5 second delay into a configurable module
> > parameter, so users can determine how long to wait in this
> > pseudo-hibernate state before resuming the system.
> >
> > The configurable delay parameter has been added to suspend and
> > synchronized to hibernation.
> >
> > Example (wait 30 seconds);
> >
> > # echo 30 > /sys/module/hibernate/parameters/pm_test_delay
> > # echo core > /sys/power/pm_test
> >
> > Signed-off-by: Zihuan Zhang <zhangzihuan@xxxxxxxxxx>
>
> Looks good. Thanks.
>
> Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Applied as 6.16 material, thanks!