Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1358586pxf; Fri, 2 Apr 2021 08:22:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBKsRJm7Y2EV/r3D8+RBtIdFCFYp3aZ1xNhnFrNRrqZfBPnep0UHu4Li9XdA17h898Rbh+ X-Received: by 2002:a17:906:a1c8:: with SMTP id bx8mr14234645ejb.381.1617376965095; Fri, 02 Apr 2021 08:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617376965; cv=none; d=google.com; s=arc-20160816; b=NW0ZU1paBzU6J86TDZfRUQ/pfN7D2vF6SwYY88a+V03y9J4uKKfgPROLN6kWs6aB/t 5b0UAb2HxEx/258NKgv5ASqpZ/zABaK86bdyTQHEUzpWp4VTdh+uZVafqZO/oFfzvvk6 +LTwQt3endL5mWMVSyi8WEA5k45fLeKMSHjlBT4wfzg2t5uMC2zoyBl5FWYGghqHAB0I iu76/JAeNvHQ318ixtFPAelM1OliS4VybXcGrzUoNICiNgv8Yg3bpe2OXmvenLsQRtwu RDWcj1JjQYHhCVOZLQZNMhlr7aJZqSWSGtnqMmpM/U4imOHK5PxuG0/6RiwY6lc0dgI/ Ne0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=XNUxWYVWBis43qh7coGUuTBH0lsi/Ad/TDeVxeD+mNs=; b=UZgn+V69rVvTXaiwNYjyrDsBR8g37/6SXStiCCayVsgF3RxxgWRWcI4dbKaA5lWoUa XYT7F8bPRg+ToFoF5FjsJR+2gMqIHRJgS5KdKWY0R6xFPTKjaDq5MwvKzvXGkl3hRYoz Rg3ry+mBDmDOMlG3CS8Umi+tRtLiYZc4DFjCjpMPzsFIJLmt3arpbcr+lKaDYKgmnUvy MLvpR17NHZ+V9iLUttLjVVvk+9vFosaUyuWz/uEwMoTQU56kDJijmyuy/3AiFqWEOyOm T1zwR8wgebwMvn2TQZdUmHzd/Mzw54yWNzOPiiIq2qrLQbeQBdX3iXsOPL4Uu+6OIHDj b/zw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j2si6732858ejv.381.2021.04.02.08.22.21; Fri, 02 Apr 2021 08:22:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235477AbhDBPTh (ORCPT + 99 others); Fri, 2 Apr 2021 11:19:37 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:64058 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235735AbhDBPTH (ORCPT ); Fri, 2 Apr 2021 11:19:07 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4FBkGs0CTbz9v2lt; Fri, 2 Apr 2021 17:19:01 +0200 (CEST) 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 HHSKL_ERdXgd; Fri, 2 Apr 2021 17:19:00 +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 4FBkGr6FdVz9v2ls; Fri, 2 Apr 2021 17:19:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CCFD78BB79; Fri, 2 Apr 2021 17:19:02 +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 9kCnw8bE6TtL; Fri, 2 Apr 2021 17:19:02 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id AD03A8BB7C; Fri, 2 Apr 2021 17:19:01 +0200 (CEST) Subject: Re: [PATCH v3 05/17] arm: Convert to GENERIC_CMDLINE To: Rob Herring Cc: Will Deacon , Daniel Walker , Daniel Gimpelevich , "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 References: <7362e4f6a5f5b79e6ad3fd3cec3183a4a283f7fc.1616765870.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Message-ID: Date: Fri, 2 Apr 2021 17:19:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 26/03/2021 à 16:47, Rob Herring a écrit : > On Fri, Mar 26, 2021 at 7:44 AM Christophe Leroy > wrote: >> >> This converts the architecture to GENERIC_CMDLINE. >> >> Signed-off-by: Christophe Leroy >> --- >> arch/arm/Kconfig | 38 +---------------------------------- >> arch/arm/kernel/atags_parse.c | 15 +++++--------- >> 2 files changed, 6 insertions(+), 47 deletions(-) >> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >> index 5da96f5df48f..67bc75f2da81 100644 >> --- a/arch/arm/Kconfig >> +++ b/arch/arm/Kconfig >> @@ -50,6 +50,7 @@ config ARM >> select GENERIC_ARCH_TOPOLOGY if ARM_CPU_TOPOLOGY >> select GENERIC_ATOMIC64 if CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI >> select GENERIC_CLOCKEVENTS_BROADCAST if SMP >> + select GENERIC_CMDLINE if ATAGS > > Don't we need this enabled for !ATAGS (i.e. DT boot)? > > Can we always enable GENERIC_CMDLINE for OF_EARLY_FLATTREE? > Done in v4