linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch/arm64: Add the various compression methods to the default config
@ 2019-01-19 18:55 Tobias Klausmann
  2019-01-19 21:02 ` Will Deacon
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Klausmann @ 2019-01-19 18:55 UTC (permalink / raw)
  To: linux-arm-kernel, catalin.marinas, will.deacon; +Cc: Tobias Klausmann

There is no reason having arm64 not select these configurations by
default!

Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
---
 arch/arm64/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index a4168d366127..91a5e1cd7279 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -140,6 +140,11 @@ config ARM64
 	select HAVE_GENERIC_DMA_COHERENT
 	select HAVE_HW_BREAKPOINT if PERF_EVENTS
 	select HAVE_IRQ_TIME_ACCOUNTING
+	select HAVE_KERNEL_GZIP
+	select HAVE_KERNEL_LZ4
+	select HAVE_KERNEL_LZMA
+	select HAVE_KERNEL_LZO
+	select HAVE_KERNEL_XZ
 	select HAVE_MEMBLOCK_NODE_MAP if NUMA
 	select HAVE_NMI
 	select HAVE_PATA_PLATFORM
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arch/arm64: Add the various compression methods to the default config
  2019-01-19 18:55 [PATCH] arch/arm64: Add the various compression methods to the default config Tobias Klausmann
@ 2019-01-19 21:02 ` Will Deacon
  2019-01-21  0:38   ` Tobias Klausmann
  0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2019-01-19 21:02 UTC (permalink / raw)
  To: Tobias Klausmann; +Cc: catalin.marinas, linux-arm-kernel

On Sat, Jan 19, 2019 at 07:55:40PM +0100, Tobias Klausmann wrote:
> There is no reason having arm64 not select these configurations by
> default!
> 
> Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
> ---
>  arch/arm64/Kconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index a4168d366127..91a5e1cd7279 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -140,6 +140,11 @@ config ARM64
>  	select HAVE_GENERIC_DMA_COHERENT
>  	select HAVE_HW_BREAKPOINT if PERF_EVENTS
>  	select HAVE_IRQ_TIME_ACCOUNTING
> +	select HAVE_KERNEL_GZIP
> +	select HAVE_KERNEL_LZ4
> +	select HAVE_KERNEL_LZMA
> +	select HAVE_KERNEL_LZO
> +	select HAVE_KERNEL_XZ
>  	select HAVE_MEMBLOCK_NODE_MAP if NUMA
>  	select HAVE_NMI
>  	select HAVE_PATA_PLATFORM

I don't really understand what this patch achieves. We don't have a built-in
decompressor for arm64, as we defer to the bootloader to handle that for us
instead. The Image.gz target already produces a gzipped kernel payload.

What are you trying to do?

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arch/arm64: Add the various compression methods to the default config
  2019-01-19 21:02 ` Will Deacon
@ 2019-01-21  0:38   ` Tobias Klausmann
  0 siblings, 0 replies; 3+ messages in thread
From: Tobias Klausmann @ 2019-01-21  0:38 UTC (permalink / raw)
  To: Will Deacon; +Cc: linux-arm-kernel


On 19.01.19 22:02, Will Deacon wrote:
> On Sat, Jan 19, 2019 at 07:55:40PM +0100, Tobias Klausmann wrote:
>> There is no reason having arm64 not select these configurations by
>> default!
>>
>> Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
>> ---
>>   arch/arm64/Kconfig | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
>> index a4168d366127..91a5e1cd7279 100644
>> --- a/arch/arm64/Kconfig
>> +++ b/arch/arm64/Kconfig
>> @@ -140,6 +140,11 @@ config ARM64
>>   	select HAVE_GENERIC_DMA_COHERENT
>>   	select HAVE_HW_BREAKPOINT if PERF_EVENTS
>>   	select HAVE_IRQ_TIME_ACCOUNTING
>> +	select HAVE_KERNEL_GZIP
>> +	select HAVE_KERNEL_LZ4
>> +	select HAVE_KERNEL_LZMA
>> +	select HAVE_KERNEL_LZO
>> +	select HAVE_KERNEL_XZ
>>   	select HAVE_MEMBLOCK_NODE_MAP if NUMA
>>   	select HAVE_NMI
>>   	select HAVE_PATA_PLATFORM
> I don't really understand what this patch achieves. We don't have a built-in
> decompressor for arm64, as we defer to the bootloader to handle that for us
> instead. The Image.gz target already produces a gzipped kernel payload.
>
> What are you trying to do?


Yeah silly me, yet having a different behavior while installing: make 
zinstall <-> make install in comparison to x86 is misleading. Maybe this 
could be an option in the K config?

Greetings,

Tobias


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-21  0:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-19 18:55 [PATCH] arch/arm64: Add the various compression methods to the default config Tobias Klausmann
2019-01-19 21:02 ` Will Deacon
2019-01-21  0:38   ` Tobias Klausmann

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).