Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp756609ybi; Fri, 2 Aug 2019 03:47:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcadUOb53tJwh0mFDgEy1Cx1F4IYU0Az01GousnPcUS24rveFiGDev7gqRKzk820nUvz7Z X-Received: by 2002:aa7:956d:: with SMTP id x13mr59680858pfq.132.1564742874128; Fri, 02 Aug 2019 03:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564742874; cv=none; d=google.com; s=arc-20160816; b=MUnHNzKJmgrQ4cPQ2PoekXEjD0MQ1Z0T60c7Iiv39PLkU5Lhsa7x27ZirMHq/WjgHw SEpnM8p5T2xngayDCXdvnmY0GP45aw8WbZJm0UN3Fc0ZqucnF3NDnbB7TCBwTgWhkPU7 xBQkFV3ha76//PIQMoeTVwEsnp2M+HkaQUSBISLGwkYK9zIfR3NnKEGKgHVbVAu1CoRx qT3JerWUdVN4S8vx6QfRuhCboYy2tUe0c/q3lzV31iLSx+0CxcYckMitDrM/gJVltSCD YQ6IE8cN5x6JdodFpasaGJpvBqZ/Y6KLa8IQmJiZ0+LRDChdn69gCw2SXaU4vSD5ocDt knkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dskM129Z+Pm2g90k1EaL/hR4S3jKQ/kszYbrKBxwKZM=; b=Edc9p3cxzfP0DRZL4b7CBI5tS5U0QOZxdX5rKmHffkMEcAtR7AWcuYKyH+GS7kMt/+ jLdL53symcj5w78k9EwKwYjw1k3wQZ5GsqnALv4X5u0MpZb+kU/DaHH53rMMOZRQZyIx 5qABJw8CyjdaRDKCQ+7ItiHeeXi22GFUwo4U4xxrGg6L4HQakPdtQlV2BuDMiI0mKnVM hv8w6Z4JyAnvsRSdoorz8mhjegnnTStrtAG0ZIuAsmXUSL8BdoV4eN+jrU8YT7EkLCsP 3iEcTPvLJ1nlWyoyI8Muw2GSZB50tKHbaYS1UL5l1nQKeUTWqS44F6C/IhkKi3pL9ubi kGCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Bam9ZT8f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3si35800334pgn.467.2019.08.02.03.47.39; Fri, 02 Aug 2019 03:47:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Bam9ZT8f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732625AbfHBFSu (ORCPT + 99 others); Fri, 2 Aug 2019 01:18:50 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:31754 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbfHBFSu (ORCPT ); Fri, 2 Aug 2019 01:18:50 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 460FnL5MkFz9vBfr; Fri, 2 Aug 2019 07:18:46 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=Bam9ZT8f; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id sdGXrrjyCDuQ; Fri, 2 Aug 2019 07:18:46 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 460FnL3Stcz9vBfp; Fri, 2 Aug 2019 07:18:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1564723126; bh=dskM129Z+Pm2g90k1EaL/hR4S3jKQ/kszYbrKBxwKZM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Bam9ZT8fJlMSqeotbiCuQd3LWO9PpK+7w9pj2xMUyg6ZAYtLHCtDZ4pzOXQHI7kfe uGh+XUsOrdEWkqJFeoXMMDvLB9QaQVw5STm2gmCOl2HmNvYrUGcHyiPRY/uJP5OmG4 j8CG7abnSTmsnnrTXnGYQ/q8V93FZO0n3ulXNTsM= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6520A8B797; Fri, 2 Aug 2019 07:18:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id OThNZB83Zkwe; Fri, 2 Aug 2019 07:18:47 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E45368B74C; Fri, 2 Aug 2019 07:18:46 +0200 (CEST) Subject: Re: [PATCH] powerpc: Remove inaccessible CMDLINE default To: Chris Packham , benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20190802050232.22978-1-chris.packham@alliedtelesis.co.nz> From: Christophe Leroy Message-ID: <43422528-c2fc-a2c8-49e6-0f6b2c791648@c-s.fr> Date: Fri, 2 Aug 2019 07:18:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190802050232.22978-1-chris.packham@alliedtelesis.co.nz> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 02/08/2019 à 07:02, Chris Packham a écrit : > Since commit cbe46bd4f510 ("powerpc: remove CONFIG_CMDLINE #ifdef mess") > CONFIG_CMDLINE has always had a value regardless of CONNIG_CMDLINE_BOOL. s/CONNIG/CONFIG/ > > For example: > > $ make ARCH=powerpc defconfig > $ cat .config > # CONFIG_CMDLINE_BOOL is not set > CONFIG_CMDLINE="" > > When enabling CONNIG_CMDLINE_BOOL this value is kept making the 'default > "..." if CONNIG_CMDLINE_BOOL' ineffective. s/CONNIG/CONFIG/ > > $ ./scripts/config --enable CONFIG_CMDLINE_BOOL > $ cat .config > CONFIG_CMDLINE_BOOL=y > CONFIG_CMDLINE="" > > Additionally all the in-tree powerpc defconfigs that set > CONFIG_CMDLINE_BOOL=y also set CONFIG_CMDLINE to something else. For > these reasons remove the inaccessible default. > > Signed-off-by: Chris Packham Reviewed-by: Christophe Leroy > --- > This should be independent of http://patchwork.ozlabs.org/patch/1140811/ but > I've generated this patch on a stream that has it applied locally. > > arch/powerpc/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index d413fe1b4058..6fca6eba6aee 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -844,7 +844,6 @@ config CMDLINE_BOOL > > config CMDLINE > string "Initial kernel command string" if CMDLINE_BOOL > - default "console=ttyS0,9600 console=tty0 root=/dev/sda2" if CMDLINE_BOOL > default "" > help > On some platforms, there is currently no way for the boot loader to > I think we could also get rid of CMDLINE_BOOL totally and use CMDLINE != "" instead. Christophe