Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1503489pxf; Fri, 26 Mar 2021 08:49:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtSkUV6HMi7gesNvysRRFomESASrvuzuFSaqkb6i6bCkz6+KxFRahvzMrN6NlPVu1IcZ/n X-Received: by 2002:aa7:c804:: with SMTP id a4mr15593887edt.251.1616773757562; Fri, 26 Mar 2021 08:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616773757; cv=none; d=google.com; s=arc-20160816; b=HuFTno8azjsHcoikpsuGGu2cuWeGA0Pg2VDpAgoaF0EGV2wTTzotYeulCnD+lF90Ww SeH5fLp6S01D3P+2/xE0R0ET7i8LGSAuchzajM1qTLEcHZ6b2VCxG4PLoT7l5qJvOfUT 6Y0NiJJuVfASUmixwyknQZivKkiEMbTglznfq+SWfmWBhW3P1ydaf+1SU+ZqMOkIgZOB 85M+ehDe1WEjTgDBF8ZpQ0JyE2gr1/+4wTgYIbr8ANrZEZ0i/09sg5KaqJpfXDrrcIL0 kPgEyreOBEhQbhMw0172I7kIXDOjoY+ZCzNaIkjAgjvt9jn9mmD+XmTv4f+NtYLHd+hs SMBg== 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=fDsVOQApM1gh0kgIYN0k65Ft9blFdxB94y+gLiRuLYs=; b=JFK4w+z/WShuufU2Ahaibm44ykuKiih64Oia8L1kAIS9YD3/AJKgyzZZNIm+di7ZNx wrjQ4jlC85N2AFw3jHGKNHy6dlePlk0vnTEmmIpadtzO+w0VV92LwkchcMtg3QQg4IeI rP2eFKh7sNoktZuqhXTKuTYyQn8CBN62t1hg56oW7wFR3igGKb51E6ih4i8L3FUo7It4 YCUyehyaPSvOhuJiwm7ohVCDXE4jrpG/yBb4l21y8J9hzDUWBW+hB3fTjV1cpnz9/IXb AkNC0eyf1KUJX2OhKeX7+2kHYsRJ9MQ4xs9iBsQdHlYRUe9GaXkm3cK3vxlfoWBA7CA1 GjjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AcCDpzU7; 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 n3si7152092edo.368.2021.03.26.08.48.54; Fri, 26 Mar 2021 08:49:17 -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=AcCDpzU7; 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 S230299AbhCZPrx (ORCPT + 99 others); Fri, 26 Mar 2021 11:47:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:56248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230236AbhCZPrT (ORCPT ); Fri, 26 Mar 2021 11:47:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DFEF461A27; Fri, 26 Mar 2021 15:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616773639; bh=FOq/AGTP4gWQcAqm6gE3CbPMoPZd/s7+r0gDFMG3q6U=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=AcCDpzU7tp9iwdGG8gDfzEHT/oRIXsIga7wXxu53WqUJhT2ul2T9YDS65RNqPU2n3 Xvn+RFssUybeWEZgEY2lh1i4UxjZPbwmKsgliPvp0IToMiB2a/WA5KR9z10HdDinOv UYM5sw/0IvqfBsKxROncwVaSX/vsAHxPYgALR1dSYHioveObkwXiHIvFx1Yj/tNdZJ KMRbv1ObJxkt+zXV5bOiWGyn/1VwvDn/9VCA4p517RmAt9EEHqYSMNig8Oj+y1Zu4e B4aIe1rurjyjKfoN2EcYkT1/pA82eHFw94cAgT8CIulbihfa0tOaUKwaviLlzc9Bb9 p9VnLj0VX7D0A== Received: by mail-ed1-f50.google.com with SMTP id y6so6863670eds.1; Fri, 26 Mar 2021 08:47:18 -0700 (PDT) X-Gm-Message-State: AOAM533y3Mbzdq/w0OJ5kPTx9/7Cq9mAA6LjG4KaQ05ghWDBJC3D1ESE yrNKJFeSjM4MbkrT/jc59B04xoMkSziUJkuolw== X-Received: by 2002:a05:6402:c88:: with SMTP id cm8mr15784199edb.62.1616773637523; Fri, 26 Mar 2021 08:47:17 -0700 (PDT) MIME-Version: 1.0 References: <7362e4f6a5f5b79e6ad3fd3cec3183a4a283f7fc.1616765870.git.christophe.leroy@csgroup.eu> In-Reply-To: <7362e4f6a5f5b79e6ad3fd3cec3183a4a283f7fc.1616765870.git.christophe.leroy@csgroup.eu> From: Rob Herring Date: Fri, 26 Mar 2021 09:47:04 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 05/17] arm: Convert to GENERIC_CMDLINE To: Christophe Leroy 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Rob