Re: [PATCH 2/4] ACPI: button: Cancel hibernation if button is pressed during hibernation

From: Muhammad Usama Anjum

Date: Wed Nov 26 2025 - 08:41:44 EST


On 11/26/25 12:38 PM, Greg Kroah-Hartman wrote:
> On Tue, Nov 25, 2025 at 09:41:22PM +0500, Muhammad Usama Anjum wrote:
>>>> While I've thought about increasing the speed, I've no concrete ideas yet.
>>>> The main problem is that its sequential in nature.
>>>
>>> Then fix that?
>> That's in the plan. But who knows when we get time to attempt that.
>
> Take the time to fix this properly first, don't paper over the issue by
> changing user/system interactions that will not be needed in the future
> when the real problem is resolved.
You're absolutely right, and I share the same philosophy.

However, I think the hibernation cancellation feature has standalone value
regardless of how much we optimize hibernation time. Even if we achieve
significant improvements (5-30% or more), there will still be scenarios where
users want to abort an in-progress hibernation.

I'm focusing on making this series more concise for next revision.

>
>> First I need a board/machine with serial console access to view all logs in real
>> time. :)
>
> usb debug cables might be your solution.
>
> good luck!
>
> greg k-h


--
---
Thanks,
Usama