From patchwork Thu Aug 11 23:11:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "George G. Davis" X-Patchwork-Id: 12941791 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 51F2CC25B06 for ; Thu, 11 Aug 2022 23:13:21 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From: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=DUvjloAWgTOar/DtBOoctdV0eXTmMqwPutei8oR2Nk0=; b=MYwwwjJIprij5D PEiOHEyAaDp+8WIpQlfllEgKzbvKAdxvEOqpPjo+3N+nS09X7+6s1gB9Y59Mj3SF4ld+m3SKHXDVT 82B5M+7rf4rAnThBnivCow3+gGzM8qs0BPzMoTpU5XZMssj2A/rci5LtyHkqbliHN/ObLvdyLPHzy VR21aPPpXV/jOOMaM9gYIxblqvOtugkYqaM0LXVazVkgAbm8M57trmQaleg4mRTSnr6vu4j0eHVd6 AMDnNQtmnCXFxNuAdblFuj/9wUX6EvSZKWYV5BUWVUHR365sGtPY3KJDmXkqM0wBWOZqsX67ADQXM k+n0dJFrPRPLHk40qFeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMHLI-006UbF-HD; Thu, 11 Aug 2022 23:11:56 +0000 Received: from esa1.mentor.iphmx.com ([68.232.129.153]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMHLF-006USw-EL for linux-arm-kernel@lists.infradead.org; Thu, 11 Aug 2022 23:11:54 +0000 X-IronPort-AV: E=Sophos;i="5.93,231,1654588800"; d="scan'208";a="83901182" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 11 Aug 2022 15:11:37 -0800 IronPort-SDR: 7i3JnU3CFV+Cpa2RDTuGc2tZu7ccsc3TNEiAoCS0WsI5jMLB81nTe547JTmqUh3nT/zsr6yKNZ y7zbnG0a8h3c1J5LcDc2U3qh+BJIzs3IWjkmMH8qTsLffH+mUlQMBSl6N1rNHnweV13Jo7i4kb MAcZrS/FwBwn5WzV8D7frL4BNGYzxoYs/4wOO7+IB1zYihJxbeEI7scAWO6/aJqqgpqAK+JVLH MKRs52lz422wtfLtSi2NUNwgzqrGHjEr9QP6J+yyusCaNnkAKoV7byQ3sT2vVQnZhmgTY+RE7s iZ4= From: "George G. Davis" To: Catalin Marinas , Will Deacon , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , open list CC: , "George G. Davis" Subject: [PATCH] arm64: enable kernel command line concatenation Date: Thu, 11 Aug 2022 19:11:27 -0400 Message-ID: <20220811231127.787178-1-george_davis@mentor.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-10.mgc.mentorg.com (147.34.90.210) To svr-orw-mbx-10.mgc.mentorg.com (147.34.90.210) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220811_161153_519934_DFB5D3E7 X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: "George G. Davis" Enable CONFIG_CMDLINE to extend the boot loader supplied cmdline. This can then be used in config fragments to set command line arguments specific to testing of different kernel config options. Signed-off-by: George G. Davis --- arch/arm64/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 571cc234d0b3..cf4a44cde21b 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -2140,6 +2140,12 @@ config CMDLINE_FROM_BOOTLOADER the boot loader doesn't provide any, the default kernel command string provided in CMDLINE will be used. +config CMDLINE_EXTEND + bool "Extend bootloader kernel arguments" + help + The command-line arguments provided by the boot loader will be + appended to the default kernel command string. + config CMDLINE_FORCE bool "Always use the default kernel command string" help