Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp148657ybb; Tue, 31 Mar 2020 19:31:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vspefziKJbaKV0IGh98MEt1BEgMe963MXhDj+qOIinhAKf9p4u5ye4zvXf9dv2IHWxkpmBB X-Received: by 2002:a05:6830:160a:: with SMTP id g10mr14420344otr.329.1585708283777; Tue, 31 Mar 2020 19:31:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585708283; cv=none; d=google.com; s=arc-20160816; b=QECdBwUGGmJJKuF4ZkmEcWP3+RqbdiL1tQN1C6WzKX9kiTrSSTkybaPM2ZXTPcgoG7 YI4MpdCJD8hbgjKvWYvTcUZ3Ut7Urivf1aa0C3iBXmyEpVAzyWiLJxKrYYNxUEgqlkB2 sqhKEX4uirSTtiV2JjtGff8zagVKtsB411ugfTu0+y4bqjoBkaJcxteX1qx1omMq8Z+C Jstxp0T9+1S7DVU0N+3FlJhs9Ct8y858p9AbbaSGmHqB3F0iM9oxVapck7Cp+IwW8RFj CpsFfyqJNkTr8o7NK8MFvq47CdGwxUWcwgMtNJP+12uDMrvmcITMDYZX7QARYUt3qXKY /tpw== 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:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=qZu/3DjUgT9PLemA8ikLNwYD/ZRIrg6wKYupHCBCeOE=; b=APYK7p0vGgrFKs3Ppy7NtAFEd/rkVhkBgivCmuEGYCnUV5xfmsT0Kn+uDjNBQcnP6u 5XjyhScP/r/Ar4sSjNrwJr9h5suv2angN8RxEoP97b2kigYygtIagMkjaS7h5EeTUxyT v7NDJOnqZwalPVMx/8T8b3JynxdzjYFwlGjvtDfR/BrzfzU1UijD3EeSK1Xq33g1oMJD Tsbc+Em9Em4uTuuEBBRNWZCfyfN5OMpIi1j1iXbyLkwD6XkRqHR4uy5FHiSNYVXTOcc+ p2UXn8g5ahe38eW95oiu+Gx2NC0dHaBejaB9LnSzyFrwjTvhqA/JgK4TlkWr1mKxfR+X SOVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=G1Du3hPY; 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 w1si209303otl.238.2020.03.31.19.31.09; Tue, 31 Mar 2020 19:31:23 -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=@ellerman.id.au header.s=201909 header.b=G1Du3hPY; 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 S1731611AbgDACUP (ORCPT + 99 others); Tue, 31 Mar 2020 22:20:15 -0400 Received: from ozlabs.org ([203.11.71.1]:45985 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731531AbgDACUP (ORCPT ); Tue, 31 Mar 2020 22:20:15 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 48sVK83tHTz9sSM; Wed, 1 Apr 2020 13:20:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1585707612; bh=y0rpyD+vl0A1FZm6B9bu45b8gnXWbKNKemU2KXkXOJ8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=G1Du3hPY+uld4csqLImov9IQqnryA2879Lxj1S2yA3GeQ2A1NkFhQqiVR2h7/BUrw vVpaO7OxxhpBpAJOhCf2qXvMi4d8AsCV61YYdxkv7HJxXLkQtm+28kRHZtoVt5mKdl q477yyutAM7y4X2/W7MTPLpHSXtL1/jjSEZHbjE499q4Zi7TSH3D+7pWiW94ggmA3X 3Wai4IoAgJPXrSGT/PaENnXhl3N3IB5oaoOCHED0hXWtsEVoXJnP3ePca3TDmArJ3Q fxc8i/BwAMlh3CUVq35iSmPfG861iy4hZ7n6cDZ7OtZ9UXbEyHuj8hRQWjcNuNPjmf 3/3Rgk4/ZyRwg== From: Michael Ellerman To: Christophe Leroy , Arnd Bergmann Cc: Benjamin Herrenschmidt , Paul Mackerras , Michal Simek , "linux-kernel\@vger.kernel.org" , linuxppc-dev Subject: Re: [PATCH v2 09/11] powerpc/platforms: Move files from 4xx to 44x In-Reply-To: <74e76b4e-5e4f-f3de-96a8-f6a451b3243a@c-s.fr> References: <698e9a42a06eb856eef4501c3c0a182c034a5d8c.1585640941.git.christophe.leroy@c-s.fr> <50d0ce1a96fa978cd0dfabde30cf75d23691622a.1585640942.git.christophe.leroy@c-s.fr> <833d63fe-3b94-a3be-1abb-a629386aa0dd@c-s.fr> <74e76b4e-5e4f-f3de-96a8-f6a451b3243a@c-s.fr> Date: Wed, 01 Apr 2020 13:20:21 +1100 Message-ID: <87d08sueu2.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > Le 31/03/2020 =C3=A0 18:04, Arnd Bergmann a =C3=A9crit=C2=A0: >> On Tue, Mar 31, 2020 at 5:26 PM Christophe Leroy >> wrote: >>> Le 31/03/2020 =C3=A0 17:14, Arnd Bergmann a =C3=A9crit : >>>> On Tue, Mar 31, 2020 at 9:49 AM Christophe Leroy >>>> wrote: >>>>> >>>>> Only 44x uses 4xx now, so only keep one directory. >>>>> >>>>> Signed-off-by: Christophe Leroy >>>>> --- >>>>> arch/powerpc/platforms/44x/Makefile | 9 +++++++- >>>>> arch/powerpc/platforms/{4xx =3D> 44x}/cpm.c | 0 >>>> >>>> No objections to moving everything into one place, but I wonder if the >>>> combined name should be 4xx instead of 44x, given that 44x currently >>>> include 46x and 47x. OTOH your approach has the advantage of >>>> moving fewer files. >>>> >>> >>> In that case, should we also rename CONFIG_44x to CONFIG_4xx ? >>=20 >> That has the risk of breaking user's defconfig files, but given the >> small number of users, it may be nicer for consistency. In either >> case, the two symbols should probably hang around as synonyms, >> the question is just which one is user visible. >>=20 > > Not sure it is a good idea to keep two synonyms. In the past we made our= =20 > best to remove synonyms (We had CONFIG_8xx and CONFIG_PPC_8xx being=20 > synonyms, we had CONFIG_6xx and CONFIG_BOOK3S_32 and=20 > CONFIG_PPC_STD_MMU_32 being synonyms). > I think it is a lot cleaner when we can avoid synonyms. > > By the way I already dropped CONFIG_4xx in previous patch (8/11). It was= =20 > not many 4xx changed to 44x. It would be a lot more in the other way=20 > round I'm afraid. > > But I agree with you it might be more natural to change to 4xx. > > Michael, any preference ? I'd say just use 44x, we've had the inconsistency of 476 living in platforms/44x, and it hasn't really led to much confusion. I think for most folks they see 4xx/44x and just think "some 32-bit embedded thing", so the precise distinction between 4xx, 44x, 476 etc. is not that important to justify renaming the symbol everywhere I think. cheers