Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp405936imu; Tue, 11 Dec 2018 00:46:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uha0Qed1Yc+MIA4rSkjek8NRWCBNuXYmn+/rqDmAlupHjUE9f+DLMh3LtXfN8BOYVRrEC9 X-Received: by 2002:a17:902:4081:: with SMTP id c1mr15563267pld.87.1544517997875; Tue, 11 Dec 2018 00:46:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544517997; cv=none; d=google.com; s=arc-20160816; b=vnpFX4AsbF+MQOMqdcDsWaNwx9npCOungV1DY6sD7tyEF8SjkAvvIrHvjDhIH745Zi ef7ZTp5fNZxqD65FDeyHkf135BFtWnDMvwki8u24bq4t6+7RdpVM9H5TsCSVJlCwUGil AOcro7u+T4a2dSenrR4wGi2Y44mRQ0OYjtA9XaJ0vsmSWmo/jaO8Fn5ROhArRqrxmmu/ U1/40y7NsJkYxZrRvRwqfQu+G2akQVgubUi2+oKlSG03PoeAxX3jg1zD6LkvwHBdAX7x ifPXL6A3GtE2iNczLJn4KBs7AXaqenj6IyzkegEAJiK/vtJaqkvLVKahpNQt1KFDVEii 9JXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=eWBTgUBk2X9dWCGwyVWMhC6XsKOx13IfEp9WSgotmTk=; b=B13tA+bGoPRXQM2Mc4T795+a5gCm1sI2/iS2xFvf8fXZtFpCeknnECeuj6GKkLYnBa TBo3OXny41vhXcxNYFfoz1kxTEnnSCNUbDaHtPtTNg23ow+pje8fjI5kFVzVYIKbJjwa 1lqnrTGF6AuKx7xCZ4te5bUgDlphumStzHh7P9exITsFi//Su37QnR+2xXgHzt9Aux1K Dz7lIa+si8q3GBj+FxH9LzogeW8j9Vhu3vP7B0Yy43Up56gGoMsVXN27rZ1OMktiyly8 0dWij3mETQDE041/vuIfEcx09BhXZHiOtesNfttjfN9OPhJBr9Unk0TT9Fm83/OPRE5h D07w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GiJjfZVQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y13si11409092pgj.157.2018.12.11.00.46.22; Tue, 11 Dec 2018 00:46:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=GiJjfZVQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726208AbeLKIpc (ORCPT + 99 others); Tue, 11 Dec 2018 03:45:32 -0500 Received: from mail-it1-f195.google.com ([209.85.166.195]:40731 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbeLKIpb (ORCPT ); Tue, 11 Dec 2018 03:45:31 -0500 Received: by mail-it1-f195.google.com with SMTP id h193so2459030ita.5 for ; Tue, 11 Dec 2018 00:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eWBTgUBk2X9dWCGwyVWMhC6XsKOx13IfEp9WSgotmTk=; b=GiJjfZVQc4ZiByjyT6x9upCBwEjlCJkjjNPPGijHJBSObUBz/iofrZxB64eZnBwETE gzSB9a5PXCWne9q+pe8boJbHwtgbrzKolrIhjO8e8ZeATjYTGOUD9xiAQVE7hznDWrRU KUTbVNtv71sHvQmndD9MFTDtjLqtzKPHuVpbE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eWBTgUBk2X9dWCGwyVWMhC6XsKOx13IfEp9WSgotmTk=; b=JASraVrOMRE9bcmzucKhHv4meDVtt8BNODdCnF21W3uHknOHXWXd6iHdUCOXtvPdoN v9dw/mrjC7KdbM+yl7VGRuxfdkpGPhQGOpjDFubOnyd0X2CK9BsBZf5UkMI51wfVJyNH nvrPwXEkNA4EsxoSBTOdp7YEK3uVOpyIlkAClpIdt812A4ra9D4xk1DrOpinMku87saf kM46ZsjDtpC2mqe87dxr4eoRZuF0TqXYZTCwYX9nDWl+jxXh/Qp+tIQ5XorXf95Q86Lj kbUrRjNVKutr0k84p+GPZpFYrVQ14HNcBipUZCWICIuen4xxqG5QEpWxMYc4YJwtrnF3 GvYQ== X-Gm-Message-State: AA+aEWY7gFnxzlRGXUT1iuE43frOA6vvPno8aHEd/iFZoxh5S2pSGCB3 h00a4V/jnlGCXfB0rUMcSBOQhc4H/WrPEHVju/5iPQ== X-Received: by 2002:a24:f14d:: with SMTP id q13mr1346065iti.166.1544517930531; Tue, 11 Dec 2018 00:45:30 -0800 (PST) MIME-Version: 1.0 References: <1544073508-13720-1-git-send-email-firoz.khan@linaro.org> <1544073508-13720-4-git-send-email-firoz.khan@linaro.org> <20181210195144.dvprpyxyddusyb5c@pburton-laptop> In-Reply-To: <20181210195144.dvprpyxyddusyb5c@pburton-laptop> From: Firoz Khan Date: Tue, 11 Dec 2018 14:15:19 +0530 Message-ID: Subject: Re: [PATCH v4 3/7] mips: rename macros and files from '64' to 'n64' To: Paul Burton Cc: linux-mips@vger.kernel.org, Ralf Baechle , James Hogan , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Linux Kernel Mailing List , Linux-Arch , Arnd Bergmann , Deepa Dinamani , Marcin Juszkiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, On Tue, 11 Dec 2018 at 01:21, Paul Burton wrote: > > Hi Firoz, > > On Thu, Dec 06, 2018 at 10:48:24AM +0530, Firoz Khan wrote: > > diff --git a/arch/mips/include/uapi/asm/sgidefs.h b/arch/mips/include/uapi/asm/sgidefs.h > > index 26143e3..0364eec 100644 > > --- a/arch/mips/include/uapi/asm/sgidefs.h > > +++ b/arch/mips/include/uapi/asm/sgidefs.h > > @@ -40,6 +40,6 @@ > > */ > > #define _MIPS_SIM_ABI32 1 > > #define _MIPS_SIM_NABI32 2 > > -#define _MIPS_SIM_ABI64 3 > > +#define _MIPS_SIM_ABIN64 3 > > Whilst I agree with changing our own definitions & filenames to use n64, > this macro actually reflects naming used by the toolchain. ie: > > $ mips-linux-gcc -mips64 -mabi=64 -dM -E - #define _ABI64 3 > #define _MIPS_SIM _ABI64 > > Our macro here is used to compare against _MIPS_SIM provided by the > toolchain, so for consistency I think we should keep the same name for > the macro that the toolchain uses. Will this below change will help? #define _MIPS_SIM_ABI32 1 #define _MIPS_SIM_NABI32 2 #define _MIPS_SIM_ABI64 3 +#define _MIPS_SIM_ABIN64 _MIPS_SIM_ABI64 Thanks Firoz > > And I realise that undoing that but keeping n64 in our own filenames & > macros is another type of inconsistency, but something imperfect is > unavoidable at this point given that the engineers way back when decided > to use "ABI64" for n64. > > Thanks, > Paul