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=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 1055AC433ED for ; Thu, 8 Apr 2021 19:04:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 80C89610FA for ; Thu, 8 Apr 2021 19:04:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 80C89610FA 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 E80986B0036; Thu, 8 Apr 2021 15:04:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E55C76B006C; Thu, 8 Apr 2021 15:04:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D1E086B006E; Thu, 8 Apr 2021 15:04:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0164.hostedemail.com [216.40.44.164]) by kanga.kvack.org (Postfix) with ESMTP id B69A16B0036 for ; Thu, 8 Apr 2021 15:04:11 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 600BB8E52 for ; Thu, 8 Apr 2021 19:04:11 +0000 (UTC) X-FDA: 78010125102.20.7C1E367 Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by imf01.hostedemail.com (Postfix) with ESMTP id 594355001526 for ; Thu, 8 Apr 2021 19:04:10 +0000 (UTC) Received: by mail-oi1-f173.google.com with SMTP id x207so3305165oif.1 for ; Thu, 08 Apr 2021 12:04:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DUrGxOBRGKnSQEqHR05dYQldYxqAXJweo2+bFsG+WpA=; b=lDzOV0wlLdZE37uc9QFraJthkgIbAtXhdmL2F5qSIUdbc+aiL1OuoT/oO+x2cprEiJ zkY7WNSHAGpki65/oCTNvjkF/6v8YMEtEaMSJQ+FSUvw0o7wT3zex1TIhvEha3obo671 p+i1wIbnRSLd60lTv5JPHIfNrmT0grY518uZtUJlmXQZiZHqb61qkrSaryvLZSTkF0nJ ZDngKw5qlPeCWzcOc1SIQRYVGkFaGktMjCfcoTPC7DAKmtF1wPIf80Dr5C84oBQNnlim N3UGjZi8icwldZaYlM3rA5uP4/sXqqHwkqhJxTBL5FQ3//KmB9YtKJe4BV9DILGASo5A et3Q== X-Gm-Message-State: AOAM5329R8d39Kztt1ZG9AAd79sFZvvreyAK/NeVnsL8YRYyz9xJwgCU RF4zEMFlK6PTvJFbr9zXyA== X-Google-Smtp-Source: ABdhPJzc/ezUgVYn/c2gVo9JEsyTGvBA4ZkkApktnBVPpB6CFT0oT9dS88OzEW8tCbInDt8Gjv+2IA== X-Received: by 2002:a05:6808:138a:: with SMTP id c10mr7276133oiw.117.1617908650345; Thu, 08 Apr 2021 12:04:10 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id g9sm56746otk.6.2021.04.08.12.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 12:04:09 -0700 (PDT) Received: (nullmailer pid 1795497 invoked by uid 1000); Thu, 08 Apr 2021 19:04:08 -0000 Date: Thu, 8 Apr 2021 14:04:08 -0500 From: Rob Herring To: Daniel Walker Cc: Christophe Leroy , will@kernel.org, daniel@gimpelevich.san-francisco.ca.us, arnd@kernel.org, akpm@linux-foundation.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, microblaze , linux-mips@vger.kernel.org, nios2 , openrisc@lists.librecores.org, linux-hexagon@vger.kernel.org, linux-riscv@lists.infradead.org, x86@kernel.org, linux-xtensa@linux-xtensa.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v4 19/20] mips: Convert to GENERIC_CMDLINE Message-ID: <20210408190408.GA1724284@robh.at.kernel.org> References: <20210406173836.GW2469518@zorba> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210406173836.GW2469518@zorba> X-Stat-Signature: bwxqyd7xxg6dmy6f3nmtg9ugkm679try X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 594355001526 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf01; identity=mailfrom; envelope-from=""; helo=mail-oi1-f173.google.com; client-ip=209.85.167.173 X-HE-DKIM-Result: none/none X-HE-Tag: 1617908650-195767 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 Tue, Apr 06, 2021 at 10:38:36AM -0700, Daniel Walker wrote: > On Fri, Apr 02, 2021 at 03:18:21PM +0000, Christophe Leroy wrote: > > -config CMDLINE_BOOL > > - bool "Built-in kernel command line" > > - help > > - For most systems, it is firmware or second stage bootloader that > > - by default specifies the kernel command line options. However, > > - it might be necessary or advantageous to either override the > > - default kernel command line or add a few extra options to it. > > - For such cases, this option allows you to hardcode your own > > - command line options directly into the kernel. For that, you > > - should choose 'Y' here, and fill in the extra boot arguments > > - in CONFIG_CMDLINE. > > - > > - The built-in options will be concatenated to the default command > > - line if CMDLINE_OVERRIDE is set to 'N'. Otherwise, the default > > - command line will be ignored and replaced by the built-in string. > > - > > - Most MIPS systems will normally expect 'N' here and rely upon > > - the command line from the firmware or the second-stage bootloader. > > - > > > See how you complained that I have CMDLINE_BOOL in my changed, and you think it > shouldn't exist. > > Yet here mips has it, and you just deleted it with no feature parity in your > changes for this. AFAICT, CMDLINE_BOOL equates to a non-empty or empty CONFIG_CMDLINE. You seem to need it just because you have CMDLINE_PREPEND and CMDLINE_APPEND. If that's not it, what feature is missing? CMDLINE_BOOL is not a feature, but an implementation detail. Rob