From patchwork Mon Mar 8 23:53:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Daniel Walker (danielwa)" X-Patchwork-Id: 12123553 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1830DC433E6 for ; Mon, 8 Mar 2021 23:54:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DCE106522D for ; Mon, 8 Mar 2021 23:53:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231852AbhCHXx2 (ORCPT ); Mon, 8 Mar 2021 18:53:28 -0500 Received: from alln-iport-5.cisco.com ([173.37.142.92]:51240 "EHLO alln-iport-5.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231651AbhCHXxZ (ORCPT ); Mon, 8 Mar 2021 18:53:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3040; q=dns/txt; s=iport; t=1615247605; x=1616457205; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qOW1VpsX4fbS7pi7TUvKz3uyZUc7qjDe5+CAjX227XY=; b=Gy5fSSHwajF4SHnUEIbR+yC0jXQ2b3tjCij/i1x56aH1J4NZ1eQTrzPK JlQPgWoWgJU31YqkoqN59tbZvwVxYg3egwt6GbqqyYYHnBlbjJDl4yWyM nX5Pe9vwNgfG6qWVKYVbY5TPsBoWDT+kB0dtVYHgPJlTKHiKmOs4CkHJT o=; X-IPAS-Result: A0CAAQCat0ZgkIoNJK1iHAEBAQEBAQcBARIBAQQEAQGCD4N3ATmzHQsBAQEPNAQBAYRNgXwCJTgTAgMBAQEDAgMBAQEBBQEBAQIBBgQUAQEBAQEBhkWGfQFGgT4BgwKDCKwogiiJCYFFgTmIXHSEGByBSUKPHASCR2klAYEIZz+eQJwCgwiBH48qi04PIqNslF2iVYFrIYFZMxoIGxWDJU8ZDY44jXMBXCADZwIGCgEBAwmPJgEB X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.81,233,1610409600"; d="scan'208";a="676271451" Received: from alln-core-5.cisco.com ([173.36.13.138]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 08 Mar 2021 23:53:21 +0000 Received: from zorba.cisco.com ([10.24.7.91]) by alln-core-5.cisco.com (8.15.2/8.15.2) with ESMTP id 128NrKRh007218; Mon, 8 Mar 2021 23:53:20 GMT From: Daniel Walker To: Will Deacon , Christophe Leroy , Rob Herring , Daniel Gimpelevich , Andrew Morton , x86@kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , Paul Mackerras , "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-efi@vger.kernel.org Subject: [PATCH v2 0/7] Generic Command Line changes Date: Mon, 8 Mar 2021 15:53:08 -0800 Message-Id: <20210308235319.2988609-1-danielwa@cisco.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Outbound-SMTP-Client: 10.24.7.91, [10.24.7.91] X-Outbound-Node: alln-core-5.cisco.com Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org This fixed some problem identified in my last release. I made updates based on comments from Christophe Leroy. I added scripted updates to the defconfig file for mips and powerpc. This is required in order to maintain the status quo for those platforms which used the prior builtin command line system. These were tested on all effected architectures. Daniel Walker (7): CMDLINE: add generic builtin command line CMDLINE: drivers: of: ifdef out cmdline section powerpc: convert config files to generic cmdline CMDLINE: powerpc: convert to generic builtin command line mips: convert config files to generic cmdline CMDLINE: mips: convert to generic builtin command line CMDLINE: x86: convert to generic builtin command line arch/mips/Kconfig | 4 +- arch/mips/Kconfig.debug | 44 --------- arch/mips/configs/ar7_defconfig | 9 +- arch/mips/configs/bcm47xx_defconfig | 8 +- arch/mips/configs/bcm63xx_defconfig | 15 ++-- arch/mips/configs/bmips_be_defconfig | 11 +-- arch/mips/configs/bmips_stb_defconfig | 11 +-- arch/mips/configs/capcella_defconfig | 11 +-- arch/mips/configs/ci20_defconfig | 10 +-- arch/mips/configs/cu1000-neo_defconfig | 10 +-- arch/mips/configs/cu1830-neo_defconfig | 10 +-- arch/mips/configs/e55_defconfig | 4 +- arch/mips/configs/generic_defconfig | 6 +- arch/mips/configs/gpr_defconfig | 18 +--- arch/mips/configs/loongson3_defconfig | 13 +-- arch/mips/configs/mpc30x_defconfig | 7 +- arch/mips/configs/tb0219_defconfig | 7 +- arch/mips/configs/tb0226_defconfig | 7 +- arch/mips/configs/tb0287_defconfig | 7 +- arch/mips/configs/workpad_defconfig | 11 +-- arch/mips/kernel/setup.c | 36 +------- arch/powerpc/Kconfig | 37 +------- arch/powerpc/configs/44x/fsp2_defconfig | 33 ++++--- arch/powerpc/configs/44x/iss476-smp_defconfig | 25 +++--- arch/powerpc/configs/44x/warp_defconfig | 17 ++-- arch/powerpc/configs/holly_defconfig | 13 +-- arch/powerpc/configs/mvme5100_defconfig | 23 ++--- arch/powerpc/configs/skiroot_defconfig | 12 ++- arch/powerpc/configs/storcenter_defconfig | 18 ++-- arch/powerpc/kernel/prom.c | 1 + arch/powerpc/kernel/prom_init.c | 35 +++++--- arch/x86/Kconfig | 44 +-------- arch/x86/kernel/setup.c | 18 +--- drivers/firmware/efi/libstub/x86-stub.c | 2 +- drivers/of/fdt.c | 12 +++ include/linux/cmdline.h | 89 +++++++++++++++++++ init/Kconfig | 68 ++++++++++++++ 37 files changed, 321 insertions(+), 385 deletions(-) create mode 100644 include/linux/cmdline.h