* [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 related [flat|nested] 3+ messages in thread
* Re: [PATCH] PM: hibernate: make LZ4 available for hibernation compression
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>
0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2026-05-26 11:12 UTC (permalink / raw)
To: l1rox3; +Cc: rafael, lenb, pavel, linux-pm, linux-kernel
On Wed, May 20, 2026 at 10:16 AM l1rox3 <l1rox3.developer@gmail.com> 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@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
> --
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PM: hibernate: make LZ4 available for hibernation compression
[not found] ` <CAL+gSJwF_mfwNVss0evwjBptX-FLwWQp1hTUC0z9WMRnJLGV-g@mail.gmail.com>
@ 2026-05-26 11:42 ` Rafael J. Wysocki
0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2026-05-26 11:42 UTC (permalink / raw)
To: l1rox3; +Cc: Rafael J. Wysocki, lenb, pavel, linux-pm, linux-kernel
On Tue, May 26, 2026 at 1:30 PM l1rox3 <l1rox3.developer@gmail.com> wrote:
>
> CRYPTO_LZO is already selected unconditionally from HIBERNATION in
> the same way, and has been working fine like that for a long time.
> This patch just brings CRYPTO_LZ4 in 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!
> On Tue, May 26, 2026, 13:12 Rafael J. Wysocki <rafael@kernel.org> wrote:
>>
>> On Wed, May 20, 2026 at 10:16 AM l1rox3 <l1rox3.developer@gmail.com> 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@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
>> > --
>>
>> 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!
^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.