From: Wilson Felipe Pereira <wfelipe@google.com>
To: Arnd Bergmann <arnd@arndb.de>, Andrew Morton <akpm@linux-foundation.org>
Cc: Yosry Ahmed <yosry@kernel.org>,
Wilson Felipe Pereira <wfelipe@google.com>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
linux-riscv@lists.infradead.org
Subject: [PATCH 0/3] init/Kconfig: generalize config COMMAND_LINE_SIZE
Date: Thu, 6 Aug 2026 06:05:46 +0000 [thread overview]
Message-ID: <20260806060556.451370-1-wfelipe@google.com> (raw)
This patch series promotes COMMAND_LINE_SIZE from arch/s390/Kconfig to
init/Kconfig to be generally available to other architectures.
In some use cases, such as netboot kernels, rootfs configurations, larger
initramfs setups, require larger sizes. While for embedded workloads, it
can be reduced to save memory.
Since COMMAND_LINE_SIZE can be larger, it also makes sense to allow
INIT_ENV_ARG_LIMIT to be configured.
Wilson Felipe Pereira (3):
init/Kconfig: generalize config COMMAND_LINE_SIZE to all architectures
arch: use CONFIG_COMMAND_LINE_SIZE across all architectures
init/Kconfig: make config INIT_ENV_ARG_LIMIT user-configurable
arch/alpha/include/uapi/asm/setup.h | 4 ++++
arch/arc/include/asm/setup.h | 2 +-
arch/arm/include/uapi/asm/setup.h | 6 +++++-
arch/arm64/include/uapi/asm/setup.h | 4 ++++
arch/loongarch/include/uapi/asm/setup.h | 4 ++++
arch/m68k/include/uapi/asm/setup.h | 6 +++++-
arch/microblaze/include/uapi/asm/setup.h | 4 ++++
arch/mips/include/uapi/asm/setup.h | 4 ++++
arch/parisc/include/uapi/asm/setup.h | 4 ++++
arch/powerpc/include/uapi/asm/setup.h | 4 ++++
arch/riscv/include/uapi/asm/setup.h | 4 ++++
arch/s390/Kconfig | 8 --------
arch/sparc/include/uapi/asm/setup.h | 10 +++++++---
arch/um/include/asm/setup.h | 2 +-
arch/x86/include/asm/setup.h | 2 +-
arch/xtensa/include/uapi/asm/setup.h | 4 ++++
include/uapi/asm-generic/setup.h | 4 ++++
init/Kconfig | 15 ++++++++++++++-
18 files changed, 74 insertions(+), 17 deletions(-)
--
2.55.0.654.g21b8a5bc05-goog
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2026-08-06 6:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-06 6:05 Wilson Felipe Pereira [this message]
2026-08-06 6:05 ` [PATCH 2/3] arch: use CONFIG_COMMAND_LINE_SIZE across all architectures Wilson Felipe Pereira
-- strict thread matches above, loose matches on Subject: below --
2026-08-06 6:14 [PATCH 0/3] init/Kconfig: generalize config COMMAND_LINE_SIZE Wilson Felipe Pereira
2026-08-06 22:57 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260806060556.451370-1-wfelipe@google.com \
--to=wfelipe@google.com \
--cc=akpm@linux-foundation.org \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=arnd@arndb.de \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=yosry@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox