Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1108142rwb; Thu, 11 Aug 2022 16:18:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR7atr4lGfi1MdPWikTJ0oBsn+3Ozern8guEApLiRvqxTwacoUf1wpV/y/ygbVDDw+bueKw/ X-Received: by 2002:a17:902:e5c6:b0:16e:f3b6:ddb5 with SMTP id u6-20020a170902e5c600b0016ef3b6ddb5mr1315982plf.122.1660259896483; Thu, 11 Aug 2022 16:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660259896; cv=none; d=google.com; s=arc-20160816; b=ZPL19/cQnxcWvSylfn1UmLyBQjUGjfqKDv/QRnJ6aXGznCGwlzYO7kDPvZlRObMnEg ov7F//CbS/ek/RFZp8YUtg94sD0JVWQGxQ40SBi+BDZ7kekjyaQTYVmnYjEQ/5N3Dl6u 57uIIB1T4tQLkpkUxyA3CJ4NNDwEet6RpSTzmvD/LASe0roMAiR6EM49IVzyaGb84WO0 oEbg1hQ8IzA3Em0dHRN0NZMIPvXVcxeQfkrHwZ407gRooBpWzKlX0KZa6XfBppfEfoEh vU3va/fj8lpSThe/U9C802EFJBtH46Ha9hSPPTzUrsk09Pjb78Aiqy21t7kqnf0HJCnL uS2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr; bh=C8A5Mp4kQt1w5j81AS/ncaw5PqW07Ya5oE//XeB22us=; b=bu3F0ciLienVpW9a2xVrWV+r+MVULsNcmWjHNiLK4MtkwDJZDpJLKeAzmv4ysO8QnM smldBxbF2vvri1h8TeeNDnji0hf+/upQVTVGzssHwvw+m73UgQ4c/jLquLAzoi/8Q+SA F3MEGRHpDt/0bsKdCAxoQiaboZKn7CyaIDEHKvrGgRE9vURis6SLGb3FZ0RDCxQs25Ac yTSNBlB9mEAOWppY1141f/SbNPBlpgPgYPf6umw1aONkVG0GNX3617+HPa6AvMpDmzLV NmIBvmo7Ca03arGjpQS34d6Plv3Hk/RnXXEgQ6x/ik41VdJg8TM7KlmxgF4tySU9thDZ DU2g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h16-20020a056a001a5000b0052b17fa6f49si619432pfv.262.2022.08.11.16.18.03; Thu, 11 Aug 2022 16:18:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236374AbiHKXMq (ORCPT + 99 others); Thu, 11 Aug 2022 19:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236642AbiHKXMm (ORCPT ); Thu, 11 Aug 2022 19:12:42 -0400 X-Greylist: delayed 63 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 11 Aug 2022 16:12:41 PDT Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A459CA0623 for ; Thu, 11 Aug 2022 16:12:41 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.93,231,1654588800"; d="scan'208";a="81178192" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 11 Aug 2022 15:11:38 -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 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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 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 -- 2.25.1