Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1522454rwb; Fri, 12 Aug 2022 02:18:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR5O0poKOCoRG2XDTL96OxD7agmbhpTQJ+MptkT7Esrm2T/dMt+MVfW75KE+bpaCzmguIOqK X-Received: by 2002:a17:90a:1912:b0:1f7:8c6c:4fde with SMTP id 18-20020a17090a191200b001f78c6c4fdemr3264750pjg.8.1660295939559; Fri, 12 Aug 2022 02:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660295939; cv=none; d=google.com; s=arc-20160816; b=CbW1GhP1FoCbmGZV3yzxpMl35mwrwBZ8PcQKehK9T16Nt7bbENIU0ZLGzGxnqZKpZ+ Z2aUAhw0BEAq7s2BiI48eY8AUmNwFFhP+CmYvfct5iWvOh6E5hw+ylF9iLPFfaAYxuhJ jHt2QiGF/6GU0K1VqfzT/P9VP5ublw7GR8PGyDsQxDlZS/WbN1qzwYz8Zpw2dz9Ioa2p J12zRoxZlYL1E5zo5nAaDqOLm4vz+lIBLkCW50TtJ5ceHbzXMcBKjpVXNFuUTFg9DPUw m2MCIlBsOeV1yMZV3+dGIsUkRud22vk4sYYyu+q6erv3o2bv8Xte8992U+su1kM5Xn4i STSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dd/Ib2DQnhlghga0QBCkuzk72ZuAcaWqL+scJ0JN5Sk=; b=LpVGP5Gyu//ao86OJgig9Z0PkiTf7t71LtiiluRzo1MRndZN3mbP7v5tPidD1XvA+v QdFhIOA9XqKlK8994Kzc7MMhG8ETUAFMrL/02eCibVCMeneTUlruVIU9SxboYjnuz3Ha hzs6447gf50xBnQJODBc0M9ue0gfAEAYV8mbk0GbnN7TNfE1B2XVmbNcdeo7vk3ylLkX XCb36cUxN4tC4cFV1eYeN/kjXw4Gyb/10PfejwRnScvKYS7VRU9ntO2iFqVwCsS8DdG0 /CuWfz4DdnKf2BlaCe/NQezA5aNTyvyQjcVA0B1PkwMHOWYHKvSLYIwov2YUAo+sN6xr adRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZlFvzAP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a056a00240200b0052b8a92ed84si1837464pfh.172.2022.08.12.02.18.23; Fri, 12 Aug 2022 02:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZlFvzAP4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237559AbiHLIqX (ORCPT + 99 others); Fri, 12 Aug 2022 04:46:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236247AbiHLIqV (ORCPT ); Fri, 12 Aug 2022 04:46:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78F02985BD for ; Fri, 12 Aug 2022 01:46:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 11CAB6119D for ; Fri, 12 Aug 2022 08:46:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 542A9C433D6; Fri, 12 Aug 2022 08:46:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660293979; bh=MagKmuuq+7peZgngSsZBaAoznV16sMBw8KhDbFrAO3Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZlFvzAP4520xYW8BVt/yUa2S9ZDOpp3QphX1XbHWo1Wnm2cetctAtxKl1Xahkh6Ge RqSrZcZPbGn0NRHno/JnowFf9YN06tT+Tgkm0ecHA9g95PHup3hdPkpJM1eLYaxAbh hPlDWAKdLbdbrQQ0nZh3hxL/wC7UOB6ixQjQloUS6enK9TL+i1n/ZprQGwozXmpmeQ ZYgwN/iwWdTYEA7h4/lUAT1lgZWkeAJFL54Ej0Y2vfqVgXDoCIvd28Bu3bGLGhhA9C MeQA5ibv+Ez9mruT6LjQrNjfCwyICjeeGQFEsO9UShsL+jkxZ+ltSVqcjnAsCWPddC Bd96/WX10QPSw== Date: Fri, 12 Aug 2022 09:46:14 +0100 From: Will Deacon To: "George G. Davis" Cc: Catalin Marinas , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , open list , "George G. Davis" Subject: Re: [PATCH] arm64: enable kernel command line concatenation Message-ID: <20220812084613.GA3107@willie-the-truck> References: <20220811231127.787178-1-george_davis@mentor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220811231127.787178-1-george_davis@mentor.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 11, 2022 at 07:11:27PM -0400, George G. Davis wrote: > 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. > + Please see cae118b6acc3 ("arm64: Drop support for CMDLINE_EXTEND") and the Link tags in there for some background as to why we shouldn't just enable this option. Thanks, Will