Skip to contentSkip to conversation

arch/arm64: Enlarge arm64 command line length to 4096 bytes

PATCH In review 王程刚 2 participants 2 messages May 18, 2020 arm64

lore
Share & tools
lore

王程刚

author
#0 lore raw

PATCH 1/1 arch/arm64: Enlarge arm64 command line length to 4096 bytes

Now android use many long command line, and oem need append some command line to debug boot, so 2048 bytes cannot able to meet the requirement. Enlarge arm64's command line length to 4096 bytes.

---
 arch/arm64/include/uapi/asm/setup.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/arch/arm64/include/uapi/asm/setup.h
index 5d703888f351..85e34aa784e0 100644

arch/arm64/include/uapi/asm/setup.h +1 -1
@@ -22,6 +22,6 @@
 
 #include <linux/types.h>
 
-#define COMMAND_LINE_SIZE	2048
+#define COMMAND_LINE_SIZE	4096
 
 #endif
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer
#1 lore raw
Quoted 3 lines · 王程刚

Now android use many long command line, and oem need append some command line to debug boot, so 2048 bytes cannot able to meet the requirement. Enlarge arm64's command line length to 4096 bytes.

I thought bootconfig was supposed to fix this sort of thing?

Will