mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PM: hibernate: make LZ4 available for hibernation compression
@ 2026-05-20  8:12 l1rox3
  2026-05-26 11:12 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: l1rox3 @ 2026-05-20  8:12 UTC (permalink / raw)
  To: rafael; +Cc: lenb, pavel, linux-pm, linux-kernel, l1rox3

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.

Tested-by: l1rox3 <l1rox3.developer@gmail.com>
Signed-off-by: l1rox3 <l1rox3.developer@gmail.com>
---
 kernel/power/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 05337f437cca..530c897311d4 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -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
-- 
2.54.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-26 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-20  8:12 [PATCH] PM: hibernate: make LZ4 available for hibernation compression l1rox3
2026-05-26 11:12 ` Rafael J. Wysocki
     [not found]   ` <CAL+gSJwF_mfwNVss0evwjBptX-FLwWQp1hTUC0z9WMRnJLGV-g@mail.gmail.com>
2026-05-26 11:42     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome