[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251021125446.4384-1-safinaskar@gmail.com>
Date: Tue, 21 Oct 2025 15:54:46 +0300
From: Askar Safin <safinaskar@...il.com>
To: chris.feng@...iatek.com
Cc: chetan.kumar@...iatek.com,
hua.yang@...iatek.com,
len.brown@...el.com,
liang.lu@...iatek.com,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
pavel@....cz,
rafael@...nel.org,
stable@...nel.org,
ting.wang@...iatek.com,
"regressions" <regressions@...ts.linux.dev>,
"DellClientKernel" <Dell.Client.Kernel@...l.com>,
"Mario Limonciello" <mario.limonciello@....com>,
"Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>
Subject: [REGRESSION][BISECTED] "Wakeup event detected during hibernation" on Dell Precision 7780 (was "[PATCH v4] PM: hibernate: Avoid missing wakeup events during hibernation")
Chris Feng <chris.feng@...iatek.com>:
> Wakeup events that occur in the hibernation process's
> hibernation_platform_enter() cannot wake up the system. Although the
> current hibernation framework will execute part of the recovery process
> after a wakeup event occurs, it ultimately performs a shutdown operation
> because the system does not check the return value of
> hibernation_platform_enter(). In short, if a wakeup event occurs before
> putting the system into the final low-power state, it will be missed.
>
> To solve this problem, check the return value of
> hibernation_platform_enter(). When it returns -EAGAIN or -EBUSY (indicate
> the occurrence of a wakeup event), execute the hibernation recovery
> process, discard the previously saved image, and ultimately return to the
> working state.
#regzbot introduced: 0c4cae1bc00d31c78858c184ede351baea232bdb
Hibernation doesn't work on my laptop.
My laptop is Dell Precision 7780.
Hibernation starts, then aborts. dmesg contains:
[ 28.283320] PM: hibernation: Wakeup event detected during hibernation, rolling back.
I did bisect. The bug reproduces starting with 0c4cae1bc00d.
The bug still reproduces on v6.18-rc2.
Note: there is another problem with PM on my laptop, which is tracked here:
https://lore.kernel.org/all/197ae95ffd8.dc819e60457077.7692120488609091556@zohomail.com/ .
So I always revert 1796f808e4bb in my kernels.
But this doesn't prevent this hibernation bug.
In other words, this hibernation bug still happens on v6.18-rc2 even
with 1796f808e4bb reverted.
Steps to reproduce:
1. Power off laptop, then power on
2. Hibernate ("sudo systemctl hibernate")
Hibernate will not work.
Note that to reproduce the bug you need power off laptop, and then power on
it in step 1. Merely reboot doesn't cause bug. I. e. reproducibilty
depends on whether last boot was reboot or cold power on.
Also: suspend works normally (assuming I reverted 1796f808e4bb), but hibernate
doesn't.
This is "dmesg --level=debug+" on v6.18-rc2-with-1796f808e4bb-reverted:
https://zerobin.net/?0459f6411446622d#8i0Ifo6o68By3+UlYUr2t2KL7YLXsKEXrkfszpE77Rw=
This is config of this kernel:
https://zerobin.net/?04e89ceab8284c1d#9bpaZKqVXFSaeav/WW6GOCwD4i3SozzQ8pBEJ6LWwVM=
--
Askar Safin
Powered by blists - more mailing lists