Received: by 10.223.176.46 with SMTP id f43csp2834536wra; Mon, 22 Jan 2018 04:17:10 -0800 (PST) X-Google-Smtp-Source: AH8x2264Nm0LsPInl61xlFXvL697XaOWmmUy3z4qD4/e32UdZqb09Y2fx59RkuQx1TLHf5CbtsWO X-Received: by 10.99.126.73 with SMTP id o9mr7471603pgn.429.1516623430807; Mon, 22 Jan 2018 04:17:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516623430; cv=none; d=google.com; s=arc-20160816; b=hYqitks+ocrnP+dsuQVXOxA39EPNT4v+xAZEAF657Gwvro2ZVeKimtE5mtNkObV6/a aiHc0O+EnK3JIPfxt+BzKbKgN3r5a1UPw7pnOMggw5999HuRfyfQporeoVKcnzMTMj4O u7rjFIAiFsdHLRsQ9NLGhD4XFSembmb0NggOH0Pw25iypjLdtI/MWTiVI7xyPazKSxGd 6fC1O9KBJOgQcjvjG8fmZHSDRHFaw+WsTA05wu+cRlSTOznZY0Yr9jmKui5IRVnKYsMI /UQzQP6Ecm8SOCpq8CunvJfcHm0fucKyKj3BVgSBDaogJaOJN8sxfLgHkSPxPSg2+dOh FYgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=GJPXE0wrbnknfZU4Wry4BUUKrcYAqf/v6RNv/tl+S1E=; b=blb4O6ry8X8OXDkMUPnEWQJOK6ZMQlwGe76/VXX2toBR+35CXJRS26liV2j3EwOAII W9xoUqcuc01mE7xdo3p/EjUClwiHCDi1nq+dP3vFPZzMkXbvOAFwNtV2DNM0o/IGMDat rXYZ4aaPZnZJI3GNRKoMI11TsBqC1+I7LkN3L7/sQH/yhTz+G80oLIC+/LXDeVw1UCwR uRbVe3QEoOSYCJHGVn50dubzJXCuGtIvkZ5sIsll1yqBxsA5uD7y5ukl58mpwSmt7JqB nwSVSE3xc7/GlUSZjfNG6jpGEP5fmwMiQbzMNMOZw4hWdlsVekQl+36LLriLgmXegsXH NS9A== ARC-Authentication-Results: i=1; mx.google.com; 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 t15si13650698pgb.591.2018.01.22.04.16.56; Mon, 22 Jan 2018 04:17:10 -0800 (PST) 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; 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 S1751166AbeAVMPr (ORCPT + 99 others); Mon, 22 Jan 2018 07:15:47 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:49981 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbeAVMPp (ORCPT ); Mon, 22 Jan 2018 07:15:45 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 9A2372039D; Mon, 22 Jan 2018 13:15:43 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 6A95320396; Mon, 22 Jan 2018 13:15:43 +0100 (CET) Date: Mon, 22 Jan 2018 13:15:43 +0100 From: Maxime Ripard To: Julian Calaby Cc: icenowy@aosc.io, "Mailing List, Arm" , devicetree , linux-sunxi , Marc Zyngier , Linus Walleij , Daniel Lezcano , Russell King , "linux-kernel@vger.kernel.org" , linux-gpio@vger.kernel.org, Chen-Yu Tsai , "open list:COMMON CLK FRAMEWORK" Subject: Re: [linux-sunxi] [RFC PATCH 2/9] ARM: sunxi: add Allwinner ARMv5 SoCs Message-ID: <20180122121543.aqs56ur655w24v7u@flea.lan> References: <20180119231735.61504-1-icenowy@aosc.io> <20180119231735.61504-3-icenowy@aosc.io> <76DC4CD7-4A07-40C7-80A8-1C2D177E8109@aosc.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pbr6iuiebiqnahw6" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pbr6iuiebiqnahw6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 20, 2018 at 02:22:06PM +1100, Julian Calaby wrote: > Hi Icenowy, >=20 > On Sat, Jan 20, 2018 at 2:10 PM, Icenowy Zheng wrote: > > > > > > =E4=BA=8E 2018=E5=B9=B41=E6=9C=8820=E6=97=A5 GMT+08:00 =E4=B8=8A=E5=8D= =8811:06:40, Julian Calaby =E5=86=99=E5=88=B0: > >>Hi Icenowy, > >> > >>On Sat, Jan 20, 2018 at 10:17 AM, Icenowy Zheng > >>wrote: > >>> Add option for Allwinner ARMv5 SoCs and a SoC suniv (which is a die > >>used > >>> for many new F-series products, including F1C100A, F1C100s, F1C200s, > >>> F1C500, F1C600). > >>> > >>> Signed-off-by: Icenowy Zheng > >>> --- > >>> arch/arm/mach-sunxi/Kconfig | 13 +++++++++++++ > >>> arch/arm/mach-sunxi/Makefile | 1 + > >>> arch/arm/mach-sunxi/sunxi_v5.c | 22 ++++++++++++++++++++++ > >>> 3 files changed, 36 insertions(+) > >>> create mode 100644 arch/arm/mach-sunxi/sunxi_v5.c > >>> > >>> diff --git a/arch/arm/mach-sunxi/Kconfig > >>b/arch/arm/mach-sunxi/Kconfig > >>> index 65509a35935f..78ac9ce70641 100644 > >>> --- a/arch/arm/mach-sunxi/Kconfig > >>> +++ b/arch/arm/mach-sunxi/Kconfig > >>> @@ -59,3 +59,16 @@ config MACH_SUN9I > >>> select ARM_GIC > >>> > >>> endif > >>> + > >>> +menuconfig ARCH_SUNXI_V5 > >>> + bool "Allwinner SoCs" > >> > >>That name seems a little too generic. Maybe "Allwinner ARMv5 SoCs"? > > > > This is already required by armv5. > > > > Allwinner currently has only ARMv5,7,8 SoCs. ARMv8 is under > > arm64 architecture, and ARMv5 and v7 cannot be selected at the same tim= e. >=20 > I'm going to try to back my way out of this hole by saying that they > should be more descriptive anyway (and it'll give clueless kconfiggers > a hint as to why they're not seeing their SoC listed) >=20 > However you're right, if both cannot be visible at the same time, then > it really doesn't matter if they both have the same name. >=20 > Sorry for the noise, This is definitely not noise, and I agree with you, having whether you're enabling the v5 or v7 SoCs will hopefully allow to end up in a situation where you search for hours why it won't boot. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --pbr6iuiebiqnahw6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlpl1e4ACgkQ0rTAlCFN r3TEuw//Z/mFfyvXgHpZlXa9yDz4i8A7kx7TZU8zPyc5ZhfcJ8S/pzM1tZXDrEeW jQL4s50tcFBY2Gph2IY9cmkVDEDwpWZu9D32VyJ6MCp/zItB1Z6s682OhHDSM5pM JDjqB3ZwiejH1PmbgWpIgIcUxPDqY6QH65nl02aBc/M6F6btPmIWTJQmmrFFuYcM Cy13Jm8ebzGFlLEY0OXQVZ1ZX5FAD4DTfmZB1ounaLvd0wIWAcGHtxO7QOZcYSfI X+8KoapSjGGvYzDnRwYeHTAx0CD2EM35r/S1dYo8n1qmq4OaBb3+qW97i7fz3Sr1 wdBmp77N29BAVrUDXHw7Z7W0u5Y6NWsmmdMAe/NQ9AARUgREtxoadVP9T+vvSPhx iDcFFTE/SKI1OMKn3NJIwkawusjpfk+YZ/wHofNqisoTu1EnqiLhAxWIO4/KUhHH oQWtBX2dNaMLWeSsbtwH8yOF9YDfdRYRyGKg5T4XDV3buD3v7gX0dEvWevFI8pfc JEX2eqts71jj1w9vK2SAyuGoTnU6f7POe2q7c411d9JRJf0qQMnL6nZKVUj2GXN4 tAYmq0fFM9U67QM0xBlCs5xcLs1XrvfWrpS9z3DZXyeyEIXKkuDnwhJ3WCJhraMO D/2Y+kwNSPh1vM3YkxxnrraxiEwtEeIQmlPzmleYN55OHkgD89s= =2iif -----END PGP SIGNATURE----- --pbr6iuiebiqnahw6--