From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 788D230DD22 for ; Thu, 6 Aug 2026 06:14:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785996880; cv=none; b=G8IVTOO3LXcPCwpjeCXRQnL8zlcRz+2wuPRNxggPwNUFD9p6unJ1Sfd3jHHxKFrsjQRDX1m7sp1hN52nzKVb6NFX6ErRRZLJ+re82f2VxV0x3qbZgAdztvhZwnbsWqQSJLFEBNVg6qh0XORAUe5oMUhbAi608ms71aV+adgqsnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785996880; c=relaxed/simple; bh=5S/lDul1AeWe/zpkVYBcMVyvypfgJpPJqKfEUHDxI7U=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=nbCbeAyTseRqSKGfhh3rdPl6Z7tUB5q7gycKVXS6SfE/74eEEZA3X/2Cj8G9GX4TvOr+20gIcj+F3aOQ2ylb1LAd1DPgkpW1eYZhLzaeiHtz65WdLeLfK4UH9qqCnKa0o6HuTvTqU1oFv9hEMWrH9/49W/U1XHc79fw1/PhXD3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--wfelipe.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=FGuZzXE0; arc=none smtp.client-ip=209.85.214.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--wfelipe.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="FGuZzXE0" Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2ccd1958e8fso32748095ad.2 for ; Wed, 05 Aug 2026 23:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1785996879; x=1786601679; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:mime-version:date:from :to:cc:subject:date:message-id:reply-to:content-type; bh=vYXnFOSPBEsqMlo6qdtElP2t60AdKc92rixKtDYU8E4=; b=FGuZzXE0JC7khRMizw9SmJ8zCGgDrxMnJfHxS3VxJ3ZTj8Bc03zU8AtBsddDWUNzN8 ZHrClf1R0IrxsHC0mQ261ngii3srHKjPHYVfswZVtZf/bAglH9dkX3/0CN69YlD6sY1a 6X2o7LWbqXofAD5LkmpRh1G3NdWBY+ZgLheTcMjQKNe0meqWZibsgc4fGhi3V3PuOpRT nE+NOncIuPs4kXmu8I5K6CWMy2t+PD2ofZAWUwCw/7BN6sAbSDIwiE6M3tduQOOnJs4o YXDXxUzNbx0gNPmnAZNvg+T9Z8BWj2KWE257w0p7s32T708f0Tl/713HjHM9g6Or0cbl STeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785996879; x=1786601679; h=content-type:cc:to:from:subject:message-id:mime-version:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=vYXnFOSPBEsqMlo6qdtElP2t60AdKc92rixKtDYU8E4=; b=HZVdoLWIseRfKxZ+Ay0Bc0eqp4iHzEle5mNGuhShD7jLNtJ5m3sAWPvDX30NWQ9IVw gAIcSXjY2gzgdO5QDlqUQmA8HqvegqWaIziNJRGMxlF7GZS7+wpGw3R1VTvl0vPWk2mc MeaG7UUAg4qWARPUCwmxB+X94TVZBTR9d/I8Ju108SHoTgC/nZ6xvt4TnarqxJz8hu3r exT+VeVMZYP3T5sMVcmwhoTJqZ6gY1QGCpXITIsMldy4FP+rZEwDpfsGARK1hQf6ZwLR HJRjQJkL9yiGrccr/nyq+KkTii2hyWFy3r+7az8NwsJCobxNEyRBDrcC9V4QtAKwA750 hUCQ== X-Forwarded-Encrypted: i=1; AHgh+Rqx1VnWwb4Q/swZuxNF2f48OK/QrdjJIp+o18wuV613qaJ9OjMqPsHwUGIHdZ5gPWBgU7Cz7PTsWVHN@vger.kernel.org X-Gm-Message-State: AOJu0YzhFLxQiYQyf1YHU8mADflsobNAJp6UlUrm+o7Go4rvfHJbPbah hMlfvsowU51mkc/i+voEh2GMf0UvyO+oJG9UgSbZlNyTRR/TtDsa7V5ZL19BHlxu0Kmc6bL7wjI 75+xLvEub+g== X-Received: from pjbct6.prod.google.com ([2002:a17:90a:f586:b0:383:bb4e:85a5]) (user=wfelipe job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:1d52:b0:38f:23d6:b4ad with SMTP id 98e67ed59e1d1-3903c5433damr13479620a91.8.1785996878609; Wed, 05 Aug 2026 23:14:38 -0700 (PDT) Date: Thu, 6 Aug 2026 06:14:13 +0000 Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.55.0.654.g21b8a5bc05-goog Message-ID: <20260806061429.474992-1-wfelipe@google.com> Subject: [PATCH 0/3] init/Kconfig: generalize config COMMAND_LINE_SIZE From: Wilson Felipe Pereira To: Arnd Bergmann , Andrew Morton Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, Wilson Felipe Pereira Content-Type: text/plain; charset="UTF-8" [Note: Resending the full series to ensure all patches are delivered with a unified recipient and CC list across all mailing lists.] 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3F6E2C55838 for ; Thu, 6 Aug 2026 06:14:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: Mime-Version:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=GcG3y5ZXSEHLC7bYxQB8wPXlsz8LZAP37GBuR6cpM9U=; b=hvS +rEU7G5Xn6eXWsfxWjOr5m6hmFS7L8IhQCxkPxbYVtLDu2zj4VnXAot2f/AkX0EUU+ek/dT7+ytUy RN1kHSWVXY4SsFDLFzzP68HR6icrksiYFdgv1RlZIBdtqkYBv2Heo7dEfznxlbMN6EtzrY9yotVhd rrdTw+6FcFejCdAKOgIu60eFsmbsLt1FbGMdtfZmtDUavQXEZ6jEw9jtRuQymjUlCXrC/LrO2IOyC 9CXeLjDK2dIHwO8kbNdMnLTQu9Fty1+rH2zDhw7WMhPPaxTJbNwd+dLUFO/WGZJCmrCtPD6wAVQK9 Yqv6OebgNoLL6SK+qnJ7nc4WZMWvlEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrrNK-0000000510v-1vIV; Thu, 06 Aug 2026 06:14:42 +0000 Received: from mail-pl1-x647.google.com ([2607:f8b0:4864:20::647]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wrrNI-0000000510P-363f for linux-riscv@lists.infradead.org; Thu, 06 Aug 2026 06:14:41 +0000 Received: by mail-pl1-x647.google.com with SMTP id d9443c01a7336-2ccd1958e8fso32748075ad.2 for ; Wed, 05 Aug 2026 23:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1785996879; x=1786601679; darn=lists.infradead.org; h=content-type:cc:to:from:subject:message-id:mime-version:date:from :to:cc:subject:date:message-id:reply-to:content-type; bh=vYXnFOSPBEsqMlo6qdtElP2t60AdKc92rixKtDYU8E4=; b=UPee6QW+frF1Jmy3xaO0oI3C6FTpao6G1haBjbqz7SKlNxs02pTbGi6QuBLO5Q+d8d IsP4G/eGp9NH2Qc34uIImiC6uufLTNvPK4eKFXwDtnrmedVO2H4A4XDdoeC+uMaIdkdK KbR0GRTFu7Zw2mHLVC6R3ubYa88In0qd0zQROqt2dm3a6O5Cz989+DEwGs37e8YvpQ/e pPIf7PdfPFrkOD3OsNtpEdBwfbdXadfuSkNJ3GI6q8cYtn/xmjcfr7bQ2b86kAfM3F1s WIP+tT70sI6xkHFA5S7eooO2h+lJRfTBUd7prtF4vS0L/r6edwCTC4Q64Pl9tIs+zMVV CaOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785996879; x=1786601679; h=content-type:cc:to:from:subject:message-id:mime-version:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=vYXnFOSPBEsqMlo6qdtElP2t60AdKc92rixKtDYU8E4=; b=g3AGtr5wXOJsyPP/xnECodGGY6KaPwkPf9pJ04dzaRHhgyr+rcWv77RZmPtEMdEypE 7fjV7jayCa79rnYpOAd2aUzIt1EFYb5xHuYMP8iE7qwt97bpi6uTR/+AhBacDlZafa5R 1jktszxC5UaDfti8yqAXnyoJCaY0rTLfAYwwZ2S/dKDEvN5TozvWeu4L5a2YpDE8lsqw o7HcQnE3QjHOrpJq6Kskb7mU0TT5g5PEqZkZz4ZovJdRB0C7tOyxe0pfUSzWsw9H/G+6 mm1uO3VVk8ePKRsrEdnjUmOKO5P3CBy2AM1B5WmOFeXQhLtpwWFOKTCknRimOovOJoli zxGQ== X-Forwarded-Encrypted: i=1; AHgh+Ro7ZYceb6w8xQLeckYpepmo/zra7aV3HNEgKvxWk2m04TCOWuHFwVag4wN+nrf0Fanl2hnq9mCyxXjDDA==@lists.infradead.org X-Gm-Message-State: AOJu0YzfBlCtvr+BT2WHbctr8ET3hXfhpxDMJ8ykcPlva+J1jYXlGMxr FZr5d0yy+rLqyD9V7gpc0q2DX1k9cWWlyH6i8AjVsDwjRMHdf07B3yoDNAS6tq9W3iX4Oksx/cF I9WFqGBliIA== X-Received: from pjbct6.prod.google.com ([2002:a17:90a:f586:b0:383:bb4e:85a5]) (user=wfelipe job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:1d52:b0:38f:23d6:b4ad with SMTP id 98e67ed59e1d1-3903c5433damr13479620a91.8.1785996878609; Wed, 05 Aug 2026 23:14:38 -0700 (PDT) Date: Thu, 6 Aug 2026 06:14:13 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.55.0.654.g21b8a5bc05-goog Message-ID: <20260806061429.474992-1-wfelipe@google.com> Subject: [PATCH 0/3] init/Kconfig: generalize config COMMAND_LINE_SIZE From: Wilson Felipe Pereira To: Arnd Bergmann , Andrew Morton Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, Wilson Felipe Pereira X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260805_231440_776949_DE6DDF78 X-CRM114-Status: UNSURE ( 9.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org [Note: Resending the full series to ensure all patches are delivered with a unified recipient and CC list across all mailing lists.] 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