From: Mario Limonciello <mario.limonciello@amd.com>
To: Askar Safin <safinaskar@gmail.com>
Cc: chris.feng@mediatek.com,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
chetan.kumar@mediatek.com, hua.yang@mediatek.com,
len.brown@intel.com, liang.lu@mediatek.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
pavel@ucw.cz, rafael@kernel.org, stable@kernel.org,
ting.wang@mediatek.com, regressions <regressions@lists.linux.dev>,
DellClientKernel <Dell.Client.Kernel@dell.com>
Subject: Re: [REGRESSION][BISECTED] "Wakeup event detected during hibernation" on Dell Precision 7780 (was "[PATCH v4] PM: hibernate: Avoid missing wakeup events during hibernation")
Date: Tue, 9 Dec 2025 21:42:21 -0600 [thread overview]
Message-ID: <d06be6c6-f5b7-4259-b76a-20dc52a5ffd3@amd.com> (raw)
In-Reply-To: <CAPnZJGB2YAx03piGMLE=wLOQU9-gCpSdFZhBE5iECkDxwzYCFQ@mail.gmail.com>
On 12/9/2025 12:02 AM, Askar Safin wrote:
> On Tue, Oct 21, 2025 at 5:29 PM Mario Limonciello
> <mario.limonciello@amd.com> wrote:
>> To me it sounds like it's potentially the same root cause for the early
>> suspend wakeup as well as the hibernate wakeup.
>
> Adding "gpiolib_acpi.ignore_wake=VEN_0488:00@355" or
> "gpiolib_acpi.ignore_wake=INTC1085:00@355"
> doesn't fix this bug.
>
>> Are you closing the lid
>> and putting the laptop in a bag or putting anything on top of it?
>
> No. I just click "Hibernate" button using touchpad in GUI, and hibernate fails.
>
Can you try using command line instead in case it's actually the
touchpad click still being registered?
> I just did some printf-debugging. Results:
>
> We call
> https://elixir.bootlin.com/linux/v6.18/source/kernel/power/hibernate.c#L870 ,
> it calls
> https://elixir.bootlin.com/linux/v6.18/source/kernel/power/hibernate.c#L723 ,
> it calls
> https://elixir.bootlin.com/linux/v6.18/source/kernel/power/hibernate.c#L636 ,
> it calls dpm_suspend
> https://elixir.bootlin.com/linux/v6.18/source/drivers/base/power/main.c#L2265 ,
> that dpm_suspend returns error, and this error leads to
> "Wakeup event detected during hibernation" message.
>
> Any further pointers? How to debug?
>
If you haven't already; turn on /sys/power/pm_debug_messages and
/sys/power/pm_print_times.
This should help clarify the last functions that are run and any debug
level PM related messages that are emitted that lead to the failure.
You can also check /sys/power/pm_wakeup_irq after the failure to confirm
which interrupt woke the system (assuming that was the source of the
early wakeup event).
next prev parent reply other threads:[~2025-12-10 3:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-13 8:32 [PATCH v4] PM: hibernate: Avoid missing wakeup events during hibernation Chris Feng
2023-12-13 13:45 ` Rafael J. Wysocki
2025-10-21 12:54 ` [REGRESSION][BISECTED] "Wakeup event detected during hibernation" on Dell Precision 7780 (was "[PATCH v4] PM: hibernate: Avoid missing wakeup events during hibernation") Askar Safin
2025-10-21 14:29 ` Mario Limonciello
2025-12-09 6:02 ` Askar Safin
2025-12-10 3:42 ` Mario Limonciello [this message]
2025-12-25 23:01 ` Askar Safin
2025-10-25 5:15 ` Askar Safin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d06be6c6-f5b7-4259-b76a-20dc52a5ffd3@amd.com \
--to=mario.limonciello@amd.com \
--cc=Dell.Client.Kernel@dell.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=chetan.kumar@mediatek.com \
--cc=chris.feng@mediatek.com \
--cc=hua.yang@mediatek.com \
--cc=len.brown@intel.com \
--cc=liang.lu@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rafael@kernel.org \
--cc=regressions@lists.linux.dev \
--cc=safinaskar@gmail.com \
--cc=stable@kernel.org \
--cc=ting.wang@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®