On Fri, Mar 21, 2025 at 01:00:24PM -0400, James Bottomley wrote: > There's a final wrinkle in that if I plumb efivarfs into all this, it > needs to know whether it was a hibernate or suspend, but I can add that > as an extra freeze_holder flag. Perhaps system_entering_hibernation() does what you need? Thanks, Lukas