[PATCH 1/2] arm64: increase command line size to 2048

Simon Horman horms at verge.net.au
Tue Jun 26 23:49:47 PDT 2018


On Tue, Jun 26, 2018 at 12:47:28PM -0700, Munehisa Kamata wrote:
> Otherwise, we can hit the current 512 chars limit before hitting the
> Linux kernel's one, where allows 2048 chars in arm64.
> 
> Signed-off-by: Munehisa Kamata <kamatam at amazon.com>

Hi,

This looks fine to me but I will wait to see if there are other reviews
before applying.

Reviewed-by: Simon Horman <horms at verge.net.au>

> ---
>  kexec/arch/arm64/kexec-arm64.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kexec/arch/arm64/kexec-arm64.h b/kexec/arch/arm64/kexec-arm64.h
> index bf724ef..22e4b69 100644
> --- a/kexec/arch/arm64/kexec-arm64.h
> +++ b/kexec/arch/arm64/kexec-arm64.h
> @@ -15,7 +15,7 @@
>  
>  #define BOOT_BLOCK_VERSION 17
>  #define BOOT_BLOCK_LAST_COMP_VERSION 16
> -#define COMMAND_LINE_SIZE 512
> +#define COMMAND_LINE_SIZE 2048 /* from kernel */
>  
>  #define KiB(x) ((x) * 1024UL)
>  #define MiB(x) (KiB(x) * 1024UL)
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
> 



More information about the kexec mailing list