Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp771862pxf; Thu, 1 Apr 2021 13:09:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6YP1UPWl9tCY1tFvrc4Npo6lFNTGS12YSadoO/5zPi2irzP9QHkoThY6qUuzyO0zghQf/ X-Received: by 2002:a05:6638:140e:: with SMTP id k14mr9288552jad.31.1617307740916; Thu, 01 Apr 2021 13:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617307740; cv=none; d=google.com; s=arc-20160816; b=NuwH9JErBrgepi16xZeQAwqo4HRaGtHyRE9GQ5fRbLFkncaO+ZxvxhhPMB8uo7A2Qy E/AOcFy+LXdMZRERSkTrxi0p+3gpT6Cbvw6S5xTI8JgNHjuFwqH4GvR4XeSyMT+NkXxQ /7gpjQnYTrUQYh1L9U45TgzCgems6612xLq2Itmq0uPnXbkSI1t7Khv/IV9hy2OK9j6o ONsIrN90AoA6T+LfgiJL2HM7CgZdvpdd+NaqQ5Ufvg1xuVHJjCbbJMCqrAgmdXedSog6 155tGViCGONoWHVJe3GXSNL2NHXjscnN1SDWXQ1XgXVHAsN4YJy2vj0m0QKPy55RAG4B 60QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=leXRGFCaTe62iNXS9w44O42W8yxC/IB8Rcab5IVMEdo=; b=H8GxEPxnOREcGOwZYX7LtotUfHigw+Rr8+DpyxQH5HjRnV/cwXC1zHa6nEHrZ+7hz1 /iv5njF/bBxQLhmawcVXxdyJqAXtjblxMnrrgiokMBErVSNLCRGxAAdtPVmfYkhfj6SJ WB04chcow6pBVF8+4OQ6DVaj0o40/WNRYYEV8XxBHXhwy/vbe3hI59OJNUClxVnKKia8 VQrJ5ZFPhH4ukHCf7BHahIiZITL09UkPtLEbSKZgCxgxJMuO4IvQSRHQQNgdmg3iSCbb vRMXSuvCE+qKa1rIyz1P/xaZ9blogsA4tyhnM/UwhXAUEWYzuUEW68cSkHwPH389lD7U HW2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZkxjcrpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si5116971ilg.51.2021.04.01.13.08.47; Thu, 01 Apr 2021 13:09:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZkxjcrpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234435AbhDAUIS (ORCPT + 99 others); Thu, 1 Apr 2021 16:08:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:52500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234153AbhDAUIR (ORCPT ); Thu, 1 Apr 2021 16:08:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 524B9610E9; Thu, 1 Apr 2021 20:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617307697; bh=leXRGFCaTe62iNXS9w44O42W8yxC/IB8Rcab5IVMEdo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZkxjcrpVIoR0UEZPAPwcCGRNCr9cnaA8ap9gvRp4jG0hf1ImuQrB2wy7jdHBNp4J8 +B6DTRenJaqRuVw182uynS3O32+RWy36NHQ4NVmOs0uERUsoS0z0YIuCVKtIezpQaf ar8zPs7y24q5Srof2D/yE6kT+20NEcXp6C2mI5SQ7X6r3aN/FP+ATmxolsyxP5MpYT 7NCJo48UM5HYxI/NGZmIbO5BI7lz6QHAEg6D/9PyVuj/nEJF3OsBF99i626YiF29DE grEk3QDd2ku4LB6wDx6iQIOep2wLfsf2NpExyi99i3NsqyYF/Nc2kd3WGauqNfXcpi sqcEd4bpv2hVA== Received: by mail-ej1-f49.google.com with SMTP id ce10so4641863ejb.6; Thu, 01 Apr 2021 13:08:17 -0700 (PDT) X-Gm-Message-State: AOAM530mt8jJuY2h1OQXS/Cq50IeumxeWjMXKWNjDm9mZD/pM+q5ikak BR1xKz2jJIyC0TLWfyQd6OeCFf5wB8iVb9RYpw== X-Received: by 2002:a17:906:5e01:: with SMTP id n1mr10940420eju.359.1617307695709; Thu, 01 Apr 2021 13:08:15 -0700 (PDT) MIME-Version: 1.0 References: <20210309000247.2989531-4-danielwa@cisco.com> <5f865584-09c9-d21f-ffb7-23cf07cf058e@csgroup.eu> <20210309212944.GR109100@zorba> <20fd7d44-8c39-48bc-25c3-990be9d9d911@csgroup.eu> <20210325195956.GM109100@zorba> <20210330173254.GS109100@zorba> <20210330233137.GB2469518@zorba> In-Reply-To: <20210330233137.GB2469518@zorba> From: Rob Herring Date: Thu, 1 Apr 2021 15:08:04 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline To: Daniel Walker Cc: Christophe Leroy , Will Deacon , Daniel Gimpelevich , Andrew Morton , X86 ML , "open list:MIPS" , linuxppc-dev , xe-linux-external@cisco.com, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 30, 2021 at 6:31 PM Daniel Walker wrote: > > On Tue, Mar 30, 2021 at 03:13:04PM -0500, Rob Herring wrote: > > On Tue, Mar 30, 2021 at 12:33 PM Daniel Walker wrote: > > > > > > On Thu, Mar 25, 2021 at 05:29:44PM -0600, Rob Herring wrote: > > > > On Thu, Mar 25, 2021 at 2:00 PM Daniel Walker wrote: > > > > > > > > > > On Thu, Mar 25, 2021 at 01:03:55PM +0100, Christophe Leroy wrote: > > > > > > > > > > > > Ok, so you agree we don't need to provide two CMDLINE, one to be appended and one to be prepended. > > > > > > > > > > > > Let's only provide once CMDLINE as of today, and ask the user to select > > > > > > whether he wants it appended or prepended or replacee. Then no need to > > > > > > change all existing config to rename CONFIG_CMDLINE into either of the new > > > > > > ones. > > > > > > > > > > > > That's the main difference between my series and Daniel's series. So I'll > > > > > > finish taking Will's comment into account and we'll send out a v3 soon. > > > > > > > > > > It doesn't solve the needs of Cisco, I've stated many times your changes have > > > > > little value. Please stop submitting them. > > > > > > > > Can you please outline what those needs are which aren't met? > > > > > > append AND prepend at the same time on all architectures. Christophe doesn't > > > understand the need, and hence tries to minimize the feature set which is > > > incompatible with Cisco needs and all the other out of tree users. > > > > Okay, but that's never been a feature in upstream. For upstream, we > > refactor first and add features 2nd. In this case, the difference is > > largely the kconfig and it would be better to not change the options > > twice, but that's not a blocker for taking the refactoring. You won't > > find a maintainer that's going to take adding a feature over cleanups > > and unification. > > It kind of is a feature in upstream, it's a matter of opinion. Some platform > used append and some use prepend, and it's likely because the maintainers needed > one or the other for development. Which arch/platform upstream does both prepend and append at the same time? > I'm not sure why you think I can't add the features in one go. It would be > horrid to take Christophe's changes, then have to do basically all the same work > a second time which is what Christophe's changes would force me to do. I didn't say it couldn't be done. In fact, I said it would be better all at once: "it would be better to not change the options twice" But both of you ignoring comments and continuing to post competing series is not going to get us there. TBC, I think Christophe's series is much closer to being in shape to merge upstream. > Say for example I implement this change only on one architecture. In that case > the maintainer would be accepting a feature enhancement , but there would be no > stopping it. I shouldn't have to go two strokes on one architecture, but each > change I'm making is essentially a single architecture. They can go in all > together or one at a time. Features do get implemented all the time on one arch. And then maybe a 2nd and 3rd. At some point we decide no more copying, it needs to be common and refactored. We're at that point for cmdline handling IMO. Rob