riscv: increase COMMAND_LINE_SIZE value to 2048
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
@@ -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
Paul Walmsley
maintainerQuoted 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_SIZEis not enough, they may go through unexpected error.To avoid the potential pain, we had better increase
COMMAND_LINE_SIZE.Signed-off-by Austin Kim <[email protected]>
Thanks, queued for v7.1.
- Paul
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_SIZEis 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.Signed-off-by Austin Kim <[email protected]>Thanks, queued for v7.1.
Great! Thank you.
BR,
Austin Kim
Quoted 3 lines
- Paul