Skip to contentSkip to conversation

linux-next: manual merge of the pm tree with Linus' tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 24, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the pm tree got a conflict in:

kernel/power/hibernate.c

between commit:

a3f8f8662771 ("power: always freeze efivarfs")

from Linus' tree and commit:

8e2d57e6539b ("PM: sleep: Call pm_sleep_fs_sync() instead of ksys_sync_helper()")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 22 lines
Cheers,
Stephen Rothwell

diff --cc kernel/power/hibernate.c
index 26e45f86b955,7fed1cd36e4d..000000000000
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@@ -820,8 -820,12 +820,11 @@@ int hibernate(void
  	if (error)
  		goto Restore;
  
- 	ksys_sync_helper();
+ 	error = pm_sleep_fs_sync();
+ 	if (error)
+ 		goto Notify;
+ 
 -	if (filesystem_freeze_enabled)
 -		filesystems_freeze();
 +	filesystems_freeze(filesystem_freeze_enabled);
  
  	error = freeze_processes();
  	if (error)
#1 lore raw

Hi,

Quoted 37 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the pm tree got a conflict in:

kernel/power/hibernate.c

between commit:

a3f8f8662771 ("power: always freeze efivarfs")

from Linus' tree and commit:

8e2d57e6539b ("PM: sleep: Call pm_sleep_fs_sync() instead of ksys_sync_helper()")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

--
Cheers,
Stephen Rothwell

kernel/power/hibernate.c +0 -1
diff --cc kernel/power/hibernate.c
index 26e45f86b955,7fed1cd36e4d..000000000000
@@@ -820,8 -820,12 +820,11 @@@ int hibernate(void
        if (error)
                goto Restore;
 
-       ksys_sync_helper();

kernel/power/hibernate.c

Quoted 10 lines
kernel/power/hibernate.c +4 -0
+       error = pm_sleep_fs_sync();
+       if (error)
+               goto Notify;
+
 -      if (filesystem_freeze_enabled)
 -              filesystems_freeze();
 +      filesystems_freeze(filesystem_freeze_enabled);
 
        error = freeze_processes();
        if (error)

Thanks for resolving this, it looks good to me.