From 15dd5a8bc02bd6d83d87899c7b6952e058302e88 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Mon, 7 Feb 2022 10:30:55 -0800 Subject: [PATCH] ANDROID: Increase x86 cmdline size to 4k Recently we have started adding more things to kernel command line with the new bootloader able to pass through crosvm built-in cmdline, and on 4.19 this causes problems because all bootconfig keys are also passed as cmdline, exceeding the 2048 byte limit. This causes cmdline truncation which dumps the device in recovery mode. Bump it up until we can turn this testing down. Bug: 217879977 Signed-off-by: Alistair Delva Change-Id: If341f72394de879d43da5206675d21683495d1d0 --- arch/x86/include/asm/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index ed8ec011a9fd..42f3e42a10ee 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h @@ -4,7 +4,7 @@ #include -#define COMMAND_LINE_SIZE 2048 +#define COMMAND_LINE_SIZE 4096 #include #include