Re: [PATCH v2 6/6] platform/x86: ayaneo-ec: Add suspend hook

From: Mario Limonciello

Date: Tue Oct 28 2025 - 17:21:43 EST


On 10/28/25 3:34 PM, Antheas Kapenekakis wrote:
The fan speed is also lost during hibernation, but since hibernation
failures are common with this class of devices
Why are hibernation failures more common in this class of device than anything else? The hibernation flow is nearly all done in Linux driver code (with the exception of ACPI calls that move devices into D3 and out of D0).

Perhaps you're seeing a manifestation of a general issue that we're working on a solution for here:

https://lore.kernel.org/linux-pm/20251025050812.421905-1-safinaskar@xxxxxxxxx/

https://lore.kernel.org/linux-pm/20251026033115.436448-1-superm1@xxxxxxxxxx/

https://lore.kernel.org/linux-pm/5935682.DvuYhMxLoT@rafael.j.wysocki/T/#u

Or if you're on an older kernel and using hybrid sleep we had a generic issue there as well which was fixed in 6.18-rc1.

Nonetheless; don't make policy decisions based upon kernel bugs. Fix the kernel bugs.