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 58A55C7618D for ; Tue, 21 Mar 2023 10:47:29 +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:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=srmXXKz+87azFuUZYTAEgTUMGONeIYeqZUYijAt8n4s=; b=eTZ580lksKNkWg YBgrSOFnhnyF+YQPGrwP/eQ7uqcvWdZ/e9PzM02Y8QZ+1lPqePCuG/J1I3zZ4DpjmEJooMuTEwtAE Vl1p4ofiKyjyhp6OZzTkDUlyTyt0hs89BUqcJgEa5KTGpJueFQvlSvHzlRFG62tQmMCQxVvpgEWDx FutFE928vI6xnLNNlGby2WgWrYZcwhAGnn7NroLXFzQXvFkXL0VKuEXZDVKuyX+jN4XiEoFbhe8wM XRsvDrLTZBzToM32tAHgiz5wHZHBQaKfN+d1jVlU9/7VFynF/VJg/rWlAmLecuOqv/dp/yWJRnRQa oLK47sQg7/ZBSQ50EkhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1peZV7-00C5QY-2V; Tue, 21 Mar 2023 10:45:57 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1peZUn-00C5My-1W for linux-arm-kernel@lists.infradead.org; Tue, 21 Mar 2023 10:45:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 00EDBAD7; Tue, 21 Mar 2023 03:46:16 -0700 (PDT) Received: from [10.163.89.43] (unknown [10.163.89.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 428F13F71E; Tue, 21 Mar 2023 03:45:29 -0700 (PDT) Message-ID: Date: Tue, 21 Mar 2023 16:15:26 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] arm64: Support CMDLINE_EXTEND Content-Language: en-US To: Chris Packham , catalin.marinas@arm.com, will@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230320211451.2512800-1-chris.packham@alliedtelesis.co.nz> From: Anshuman Khandual In-Reply-To: <20230320211451.2512800-1-chris.packham@alliedtelesis.co.nz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230321_034537_569840_94CED8E6 X-CRM114-Status: GOOD ( 15.21 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 3/21/23 02:44, Chris Packham wrote: > Support extending the bootloader provided command line for arm64 > targets. This support is already present via generic DT/EFI code the > only thing required is for the architecture to make it selectable. > > Signed-off-by: Chris Packham > --- > arch/arm64/Kconfig | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 1023e896d46b..3c837b085f21 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -2228,6 +2228,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 LGTM, FWIW Reviewed-by: Anshuman Khandual _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel