* [PATCH] powerpc: Enable kernel XZ compression option on 44x
@ 2019-01-31 20:59 Christian Lamparter
2019-02-08 13:02 ` Michael Ellerman
0 siblings, 1 reply; 3+ messages in thread
From: Christian Lamparter @ 2019-01-31 20:59 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Paul Mackerras
Enable kernel XZ compression option on 44x.
Tested on a Western Digital - MyBook Live NAS.
It takes 22 seconds for the 800 MHz CPU to decompress
and boot a 2.63 MiB XZ-compressed kernel simpleImage.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---
arch/powerpc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 2890d36eb531..58b6ad3555e0 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -201,7 +201,7 @@ config PPC
select HAVE_IOREMAP_PROT
select HAVE_IRQ_EXIT_ON_IRQ_STACK
select HAVE_KERNEL_GZIP
- select HAVE_KERNEL_XZ if PPC_BOOK3S
+ select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x
select HAVE_KPROBES
select HAVE_KPROBES_ON_FTRACE
select HAVE_KRETPROBES
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: powerpc: Enable kernel XZ compression option on 44x
2019-01-31 20:59 [PATCH] powerpc: Enable kernel XZ compression option on 44x Christian Lamparter
@ 2019-02-08 13:02 ` Michael Ellerman
2019-02-08 15:17 ` Christian Lamparter
0 siblings, 1 reply; 3+ messages in thread
From: Michael Ellerman @ 2019-02-08 13:02 UTC (permalink / raw)
To: Christian Lamparter, linuxppc-dev; +Cc: Paul Mackerras
On Thu, 2019-01-31 at 20:59:04 UTC, Christian Lamparter wrote:
> Enable kernel XZ compression option on 44x.
> Tested on a Western Digital - MyBook Live NAS.
> It takes 22 seconds for the 800 MHz CPU to decompress
> and boot a 2.63 MiB XZ-compressed kernel simpleImage.
>
> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/423bfc69d7f491c47fc35921f7d460be
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: powerpc: Enable kernel XZ compression option on 44x
2019-02-08 13:02 ` Michael Ellerman
@ 2019-02-08 15:17 ` Christian Lamparter
0 siblings, 0 replies; 3+ messages in thread
From: Christian Lamparter @ 2019-02-08 15:17 UTC (permalink / raw)
To: Michael Ellerman; +Cc: Paul Mackerras, Pawel Dembicki, linuxppc-dev
On Friday, February 8, 2019 2:02:41 PM CET Michael Ellerman wrote:
> On Thu, 2019-01-31 at 20:59:04 UTC, Christian Lamparter wrote:
> > Enable kernel XZ compression option on 44x.
> > Tested on a Western Digital - MyBook Live NAS.
> > It takes 22 seconds for the 800 MHz CPU to decompress
> > and boot a 2.63 MiB XZ-compressed kernel simpleImage.
> >
> > Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
>
> Applied to powerpc next, thanks.
>
> https://git.kernel.org/powerpc/c/423bfc69d7f491c47fc35921f7d460be
>
> cheers
>
Hello,
I'm happy to report that a xz compressed kernel (as simpleImage)
also booted on a TP-Link WDR4900-v1 (Freescale P1014):
<https://github.com/openwrt/openwrt/pull/1773#issuecomment-461082045>
Hence, I'm inclined to also add PPC_85xx to list in /arch/powerpc/KConfig
|select HAVE_KERNEL_XZ if PPC_BOOK3S || 44x || PPC_85xx
But on the other hand, it could very well be that more or all? PPC
would benifit from having HAVE_KERNEL_XZ available. What do you think?
(If you know of any interesting ARCHs, I could ask around too.)
Regards,
Christian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-08 15:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31 20:59 [PATCH] powerpc: Enable kernel XZ compression option on 44x Christian Lamparter
2019-02-08 13:02 ` Michael Ellerman
2019-02-08 15:17 ` Christian Lamparter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).