summaryrefslogtreecommitdiffstats
path: root/kexec
diff options
context:
space:
mode:
authorMunehisa Kamata <kamatam@amazon.com>2018-06-26 12:47:28 -0700
committerSimon Horman <horms@verge.net.au>2018-06-29 16:42:22 +0200
commit7198e899ddaba3be42ca8acdc7d8b717b3057fc6 (patch)
tree21250aad85ab16e003d9d355ba180b0faba10d96 /kexec
parentc3f043241a866a7af9117396634dfcb20f0fd9cb (diff)
downloadkexec-tools-7198e899ddaba3be42ca8acdc7d8b717b3057fc6.tar.gz
arm64: increase command line size to 2048
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@amazon.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/arm64/kexec-arm64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/arm64/kexec-arm64.h b/kexec/arch/arm64/kexec-arm64.h
index bf724ef1..22e4b69d 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)