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 X-Spam-Level: X-Spam-Status: No, score=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 2C6CAC43470 for ; Thu, 8 Apr 2021 20:08:16 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C5E9F610E8 for ; Thu, 8 Apr 2021 20:08:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C5E9F610E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3ADA76B0036; Thu, 8 Apr 2021 16:08:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 35D3D6B006C; Thu, 8 Apr 2021 16:08:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1FDEF6B006E; Thu, 8 Apr 2021 16:08:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0089.hostedemail.com [216.40.44.89]) by kanga.kvack.org (Postfix) with ESMTP id 016306B0036 for ; Thu, 8 Apr 2021 16:08:14 -0400 (EDT) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id A86E6824934B for ; Thu, 8 Apr 2021 20:08:14 +0000 (UTC) X-FDA: 78010286508.03.7ED5ECB Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf28.hostedemail.com (Postfix) with ESMTP id A98DE2000249 for ; Thu, 8 Apr 2021 20:08:14 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id ED0FF61139 for ; Thu, 8 Apr 2021 20:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617912493; bh=lJBvFSudiDrxZs+SnGh4YtxaarzP38H043H9PsxfbKw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=tBubWWY3+neAkzvUwVEoCp09FqswXCDaRx0c5tqpOKjvcYtVCmFe8JHZ54TSymAUN LcUpHK9kiXHWgsLiDmBkRkBjUyBdxgg10Kg/vhYMlvwhM6Td33Bu/fEAPoZH7Rwzg3 y/02Yh1kIkod5A/25l6gmVy/uGkdg25wTAzvSArNYFnlkxuDzKdqut3U9ckR8RDs9P vDjyKsx0P5LjQjJsrua6oISbMFMHmtnTHx3DuSW049FdIe7WaniCJJy7rcIwUJrymm s/dYmx64TzuZ1Bdy4C5SW9baPR3AZmbYAPa+qWcEfy3HARHgLptgEEwfQza7x3mWiq CQZwA4HwhhFsA== Received: by mail-ed1-f49.google.com with SMTP id ba6so3906773edb.1 for ; Thu, 08 Apr 2021 13:08:12 -0700 (PDT) X-Gm-Message-State: AOAM530XjaWm7dLDZ7Nuh99yGkehL5Bf+z09uGbNGG2+QrXTAahyL1Dv MJq5pV4wWJnCJlyw1M1xIuLr7UOHA/op6k1VXw== X-Google-Smtp-Source: ABdhPJyQM3sGNyB4lBHJyB/vMz0AuBm9hT4GnsJ9rwYhPZ4h1PIVlO3IzyI5ADQSr6ra6UOvePCEFavpVtRgMZ1GG6I= X-Received: by 2002:a05:6402:212:: with SMTP id t18mr13947421edv.165.1617912491462; Thu, 08 Apr 2021 13:08:11 -0700 (PDT) MIME-Version: 1.0 References: <34d20d1dbb88f26d418b33985557b0475374a1a5.1617556785.git.christophe.leroy@csgroup.eu> In-Reply-To: <34d20d1dbb88f26d418b33985557b0475374a1a5.1617556785.git.christophe.leroy@csgroup.eu> From: Rob Herring Date: Thu, 8 Apr 2021 15:08:00 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v6 1/1] cmdline: Add capability to both append and prepend at the same time To: Christophe Leroy Cc: Will Deacon , Daniel Walker , Daniel Gimpelevich , Arnd Bergmann , Andrew Morton , "open list:GENERIC INCLUDE/ASM HEADER FILES" , devicetree@vger.kernel.org, linuxppc-dev , "linux-kernel@vger.kernel.org" , linux-arm-kernel , microblaze , "open list:MIPS" , nios2 , Openrisc , linux-hexagon@vger.kernel.org, linux-riscv , X86 ML , linux-xtensa@linux-xtensa.org, SH-Linux , sparclinux , linux-mm Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A98DE2000249 X-Stat-Signature: j9if3utu7fdfs7hiddufzw6kpp3wafyh X-Rspamd-Server: rspam02 Received-SPF: none (kernel.org>: No applicable sender policy available) receiver=imf28; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1617912494-834439 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sun, Apr 4, 2021 at 12:20 PM Christophe Leroy wrote: > > One user has expressed the need to both append and prepend some > built-in parameters to the command line provided by the bootloader. > > Allthough it is a corner case, it is easy to implement so let's do it. > > When the user chooses to prepend the bootloader provided command line > with the built-in command line, he is offered the possibility to enter > an additionnal built-in command line to be appended after the > bootloader provided command line. > > It is a complementary feature which has no impact on the already > existing ones and/or the existing defconfig. > > Suggested-by: Daniel Walker > Signed-off-by: Christophe Leroy > --- > Sending this out as an RFC, applies on top of the series > ("Implement GENERIC_CMDLINE"). I will add it to the series next spin > unless someone is against it. Well, it works, but you are working around the existing kconfig and the result is not great. You'd never design it this way. Rob