Skip to contentSkip to conversation

riscv: increase COMMAND_LINE_SIZE value to 2048

PATCH In review Austin Kim 2 participants 3 messages Jan 19 – Feb 13 RISC-V

lore
Share & tools
lore

Austin Kim

author
#0 lore raw

PATCH 1/1 riscv: increase COMMAND_LINE_SIZE value to 2048

From: Austin Kim <[email protected]>

SoC people may send many parameters to configure the drivers via kernel command line. If COMMAND_LINE_SIZE is not enough, they may go through unexpected error.

To avoid the potential pain, we had better increase COMMAND_LINE_SIZE.

---
 arch/riscv/include/uapi/asm/setup.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/uapi/asm/setup.h +1 -1
index 66b13a522..eb4f0209c 100644
@@ -3,6 +3,6 @@
 #ifndef _UAPI_ASM_RISCV_SETUP_H
 #define _UAPI_ASM_RISCV_SETUP_H
 
-#define COMMAND_LINE_SIZE	1024
+#define COMMAND_LINE_SIZE	2048
 
 #endif /* _UAPI_ASM_RISCV_SETUP_H */
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 9 lines · Austin Kim

From: Austin Kim <[email protected]>

SoC people may send many parameters to configure the drivers via kernel command line. If COMMAND_LINE_SIZE is not enough, they may go through unexpected error.

To avoid the potential pain, we had better increase COMMAND_LINE_SIZE.

Thanks, queued for v7.1.

- Paul

author
#2 lore raw

Hello Paul,

2026년 2월 13일 (금) AM 9:52, Paul Walmsley <[email protected]>님이 작성:

Quoted 9 lines · Austin Kim
Quoted 7 lines

From: Austin Kim <[email protected]>

SoC people may send many parameters to configure the drivers via kernel command line. If COMMAND_LINE_SIZE is not enough, they may go through unexpected error.

Quoted 5 lines
Quoted 3 lines

To avoid the potential pain, we had better increase COMMAND_LINE_SIZE.

Thanks, queued for v7.1.

Great! Thank you.

BR,
Austin Kim

Quoted 3 lines

- Paul