powerpc: Enable kernel XZ compression option on 44x
PATCH 1/1 powerpc: Enable kernel XZ compression option on 44x
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.
--- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/Kconfig +1 -1
@@ -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
Signature · 1 line
2.20.1
Michael Ellerman
AppliedQuoted 6 lines · Christian Lamparter
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 <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/423bfc69d7f491c47fc35921f7d460be
cheers
Quoted 6 lines · CET Michael Ellerman
Quoted 5 lines · Christian Lamparter
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.
Quoted 8 lines
Quoted 1 line
Signed-off-by Christian Lamparter <[email protected]>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