* [PATCH] riscv: increase COMMAND_LINE_SIZE value to 2048
@ 2026-01-19 7:41 Austin Kim
2026-02-13 0:52 ` Paul Walmsley
0 siblings, 1 reply; 3+ messages in thread
From: Austin Kim @ 2026-01-19 7:41 UTC (permalink / raw)
To: pjw, palmer, aou, alex; +Cc: linux-kernel, linux-riscv, austindh.kim
From: Austin Kim <austin.kim@lge.com>
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.
Signed-off-by: Austin Kim <austin.kim@lge.com>
---
arch/riscv/include/uapi/asm/setup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/include/uapi/asm/setup.h b/arch/riscv/include/uapi/asm/setup.h
index 66b13a522..eb4f0209c 100644
--- a/arch/riscv/include/uapi/asm/setup.h
+++ b/arch/riscv/include/uapi/asm/setup.h
@@ -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 */
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: increase COMMAND_LINE_SIZE value to 2048
2026-01-19 7:41 [PATCH] riscv: increase COMMAND_LINE_SIZE value to 2048 Austin Kim
@ 2026-02-13 0:52 ` Paul Walmsley
2026-02-13 1:18 ` Austin Kim
0 siblings, 1 reply; 3+ messages in thread
From: Paul Walmsley @ 2026-02-13 0:52 UTC (permalink / raw)
To: Austin Kim; +Cc: pjw, palmer, aou, alex, linux-kernel, linux-riscv
On Mon, 19 Jan 2026, Austin Kim wrote:
> From: Austin Kim <austin.kim@lge.com>
>
> 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.
>
> Signed-off-by: Austin Kim <austin.kim@lge.com>
Thanks, queued for v7.1.
- Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: increase COMMAND_LINE_SIZE value to 2048
2026-02-13 0:52 ` Paul Walmsley
@ 2026-02-13 1:18 ` Austin Kim
0 siblings, 0 replies; 3+ messages in thread
From: Austin Kim @ 2026-02-13 1:18 UTC (permalink / raw)
To: Paul Walmsley; +Cc: palmer, aou, alex, linux-kernel, linux-riscv
Hello Paul,
2026년 2월 13일 (금) AM 9:52, Paul Walmsley <pjw@kernel.org>님이 작성:
>
> On Mon, 19 Jan 2026, Austin Kim wrote:
>
> > From: Austin Kim <austin.kim@lge.com>
> >
> > 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.
> >
> > Signed-off-by: Austin Kim <austin.kim@lge.com>
>
> Thanks, queued for v7.1.
Great! Thank you.
BR,
Austin Kim
>
>
> - Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-13 1:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19 7:41 [PATCH] riscv: increase COMMAND_LINE_SIZE value to 2048 Austin Kim
2026-02-13 0:52 ` Paul Walmsley
2026-02-13 1:18 ` Austin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox