[PATCH v2 22/50] convert efivarfs

Christian Brauner brauner at kernel.org
Thu Nov 6 00:43:34 AEDT 2025


> > > And suspend/resume works just fine with freeze/thaw. See commit
> > > eacfbf74196f ("power: freeze filesystems during suspend/resume")
> > > which implements exactly that.
> > > 
> > > The reason this didn't work for you is very likely:
> > > 
> > > cat /sys/power/freeze_filesystems
> > > 0
> > > 
> > > which you must set to 1.
> > 
> > Actually, no, that's not correct.  The efivarfs freeze/thaw logic must
> > run unconditionally regardless of this setting to fix the systemd bug,
> > so all the variable resyncing is done in the thaw call, which isn't
> > conditioned on the above (or at least it shouldn't be).
> 
> It is conditioned on the above currently but we can certainly fix it
> easily to not be.

Something like the appended patch would do it.


More information about the Linuxppc-dev mailing list