Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] PM: hibernate: make LZ4 available for hibernation compression
@ 2026-05-20  8:12 l1rox3
  0 siblings, 0 replies; only message 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 related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-20  8:14 UTC | newest]

Thread overview: (only message) (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

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