PM: hibernate: make LZ4 available for hibernation compression
Subsystems (2)
PATCH 1/1 PM: hibernate: make LZ4 available for hibernation compression
Without this, CRYPTO_LZ4 had to be manually enabled in the config to use LZ4 for hibernation compression. Add the select so it gets pulled in automatically when hibernation is enabled, just like CRYPTO_LZO already does.
--- kernel/power/Kconfig | 1 + 1 file changed, 1 insertion(+)
kernel/power/Kconfig +1 -0
@@ -42,6 +42,7 @@ config HIBERNATION select CRC32 select CRYPTO select CRYPTO_LZO + select CRYPTO_LZ4 help Enable the suspend to disk (STD) functionality, which is usually called "hibernation" in user interfaces. STD checkpoints the
Signature · 1 line
2.54.0
Rafael J. Wysocki
maintainerQuoted 17 lines · On Wed, May 20, 2026 at 10:16 AM l1rox3 <[email protected]> wrote:
Without this,
CRYPTO_LZ4had to be manually enabled in the config to use LZ4 for hibernation compression. Add the select so it gets pulled in automatically when hibernation is enabled, just likeCRYPTO_LZOalready does.Tested-by l1rox3 <[email protected]>Signed-off-by l1rox3 <[email protected]>--- kernel/power/Kconfig | 1 + 1 file changed, 1 insertion(+)kernel/power/Kconfig +0
-0
kernel/power/Kconfig config HIBERNATION
Quoted 8 lines
kernel/power/Kconfig +1
-1@@ -42,6 +42,7 @@ config HIBERNATION select CRC32 select CRYPTO select CRYPTO_LZO + select CRYPTO_LZ4 help Enable the suspend to disk (STD) functionality, which is usually called "hibernation" in user interfaces. STD checkpoints the --
Please check the sashiko.dev feedback on this change:
https://sashiko.dev/#/patchset/20260520081254.13493-1-l1rox3.developer%40gmail.com
and either address it, or let me know why you don't think that it needs to be addressed.
Thanks!
A message that is not in the archive (sent off-list or not yet received): CAL+gSJwF_mfwNVss0evwjBptX-FLwWQp1hTUC0z9WMRnJLGV-g@mail.gmail.com
Rafael J. Wysocki
maintainerQuoted 4 lines · On Tue, May 26, 2026 at 1:30 PM l1rox3 <[email protected]> wrote:
CRYPTO_LZOis already selected unconditionally from HIBERNATION in the same way, and has been working fine like that for a long time. This patch just bringsCRYPTO_LZ4in line with that existing behavior.
OK, I guess people will complain if that turns out to be a problem.
Patch applied as 7.2 material, thanks!
Quoted 37 lines · On Tue, May 26, 2026, 13:12 Rafael J. Wysocki <[email protected]> wrote:
Quoted 36 lines · On Wed, May 20, 2026 at 10:16 AM l1rox3 <[email protected]> wrote:
Quoted 17 lines
Without this,
CRYPTO_LZ4had to be manually enabled in the config to use LZ4 for hibernation compression. Add the select so it gets pulled in automatically when hibernation is enabled, just likeCRYPTO_LZOalready does.Tested-by l1rox3 <[email protected]>Signed-off-by l1rox3 <[email protected]>--- kernel/power/Kconfig | 1 + 1 file changed, 1 insertion(+)kernel/power/Kconfig +0
-0kernel/power/Kconfig config HIBERNATION
Quoted 8 lines
kernel/power/Kconfig +1
-1@@ -42,6 +42,7 @@ config HIBERNATION select CRC32 select CRYPTO select CRYPTO_LZO + select CRYPTO_LZ4 help Enable the suspend to disk (STD) functionality, which is usually called "hibernation" in user interfaces. STD checkpoints the --Please check the sashiko.dev feedback on this change:
https://sashiko.dev/#/patchset/20260520081254.13493-1-l1rox3.developer%40gmail.com
and either address it, or let me know why you don't think that it needs to be addressed.
Thanks!