Re: [PATCH] PM: hibernate: make LZ4 available for hibernation compression
From: Rafael J. Wysocki
Date: Tue May 26 2026 - 07:13:56 EST
On Wed, May 20, 2026 at 10:16 AM l1rox3 <l1rox3.developer@xxxxxxxxx> wrote:
>
> 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@xxxxxxxxx>
> Signed-off-by: l1rox3 <l1rox3.developer@xxxxxxxxx>
> ---
> 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
> --
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!