Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp969356rwb; Tue, 27 Sep 2022 06:56:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM71Sgq71ax4skGUkqIVpv9IJGiqf56/nrmbRae4xVF1c99Wd6sNza8ywMetj7VPlLPMwW+3 X-Received: by 2002:a63:93:0:b0:439:c1de:3bb3 with SMTP id 141-20020a630093000000b00439c1de3bb3mr25240803pga.319.1664286984443; Tue, 27 Sep 2022 06:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664286984; cv=none; d=google.com; s=arc-20160816; b=pMl+OevS96jUo/yfe6WuTeMOXVCacfA68S5hKHrMn8CiA11o4QL5Sekw552TI3CVM/ dBN3EhxRphu9MKyywGGgwnVaJOUkRucxFWMrEEaIz1x2NEfkgIcBqzLqn5OMfB9eqNlN O2V+WCkZEIgz93H7ypj53JVXG+8HU4XZ5lFdfhCEdYBl+cMssXncapslrTaCzGGjEaBx jh4acLfqGkjSwlI61kUi4yhj2gD2C4jNG8KUQSYel/aTb1p4ye4ESY6canreDS1L+9JI mX+xMKBY1icErHZfluHwPZGEQ8lpGyKe61YPBBV58HFU93DetbR5elehesr8jcJfRM9M S/jw== 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; bh=dCka2VgEdqzkr+IR5U+Ae6qlCUyae/dRi2EURWYoIVI=; b=i96L98zUPtoZnG7eCpCH/xOFbfbAsmTrdVYuGLXWCLyXm1eyMWiz4Ct2u+NnJdlUfk ZKGU535P2QHe/j1rj8uOEKHT8/HWWEKkyi+LDDGvcEXI6A1F13SytDxgLrt56tvSMy+q iJZIW54PwsXXuIQ+/wbm0qT3CC4lNXIDRXu8pxOjb/H01ZQ7sy+klgF3gRSYWVDWgAU9 t1RnXLatDjs0kTIciNn/1RLXESIgCNHt5PngCVcnODVfYrnRGofLlo1sv1CimpRpCqzp ZvhCr4YhYi9QMLNGVBrpTSjqX5s8VkYiDTXuWe48RSfgxatM6IfKh48gGWp+4n+ldhCN 893Q== 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 k3-20020a170902ce0300b00179eed9bdf2si1564007plg.497.2022.09.27.06.56.12; Tue, 27 Sep 2022 06:56:24 -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 S232849AbiI0Nbg (ORCPT + 99 others); Tue, 27 Sep 2022 09:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232859AbiI0NbO (ORCPT ); Tue, 27 Sep 2022 09:31:14 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90FA9E7E18 for ; Tue, 27 Sep 2022 06:26:51 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:d95b:5c9b:4085:7c0d]) by albert.telenet-ops.be with bizsmtp id R1Sl2800E3Qogd1061Sl7e; Tue, 27 Sep 2022 15:26:47 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1odAbk-006Qb7-KW; Tue, 27 Sep 2022 15:26:44 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1odAbk-000uvu-7K; Tue, 27 Sep 2022 15:26:44 +0200 From: Geert Uytterhoeven To: Arnd Bergmann Cc: Russell King , Linus Walleij , Ard Biesheuvel , Russell King , soc@kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] ARM: Drop CMDLINE_FORCE dependency on !ARCH_MULTIPLATFORM Date: Tue, 27 Sep 2022 15:26:26 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 older platforms that boot an image with an appended DTB, or where the boot loader has no support for updating chosen/bootargs, it is common to rely on CMDLINE_FORCE. While a fixed command line can make the kernel unbootable on other platforms, it is not guaranteed to cause that. E.g. all Renesas boards use the same chosen/bootargs in upstream DTS, which works fine if your DHCP server hands out proper nfsroot parameters. Fixes: 84fc863606239d8b ("ARM: make ARCH_MULTIPLATFORM user-visible") Signed-off-by: Geert Uytterhoeven --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 22f62ad919bfd831..ea8adbf25651438a 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1616,7 +1616,6 @@ config CMDLINE_EXTEND config CMDLINE_FORCE bool "Always use the default kernel command string" - depends on !ARCH_MULTIPLATFORM help Always use the default kernel command string, even if the boot loader passes other arguments to the kernel. -- 2.25.1