Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1909993pxu; Fri, 9 Oct 2020 03:02:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp9PoYsHCL+Ncvfspc9G0lpngZIncRSqqH3T1UgvEvPs2klDT57Uz/Lg8q1+OQX046/SXa X-Received: by 2002:a17:906:14d8:: with SMTP id y24mr13290862ejc.123.1602237740249; Fri, 09 Oct 2020 03:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602237740; cv=none; d=google.com; s=arc-20160816; b=0wDHWH77WrQ5c65fz4fPoxMUsSMG+Ij+XTZe75rIUx61gOlCfOI8He7xc/fkLoT9Oy GDlxl3F8BSZPSY3Ivdc5AyaAMCychuqbyU8mP5iatYYko5NtJtmi1th5SnjH9WimAH2i FNCHtq4iGwM/LAWJWjTHeh9Lk4G0Dud8TQ0U84d1/MzR1o9XnfueoUpO8iwFf/Kfr2HW FRjtjz8s4JBFD/7vTb6DlJec3d9GxH8fpODSIVPOpN0NFhsB0m/bsO2XcmUP23gQ84qD GeAXFC8yyPQOSa4BqGQXr8DLwpxFshZJQwFSplQ7gPZNO6ZIeNLzj+MaY1h1tq42Jx9d nFlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=Vb1rk/qEWMW72Esn2shNk0zKHo4i8HmMaN9D5o75h9I=; b=gn5+2wenCuNIrlMzHKjsL/ABUq6mDM/7AI7g2daTj7JvjWwJD8NYyDGpUWFjsnD1Nd TXNsFz68nsePK7W+LjrinJkQeOVKLhPY6OxIKuByT42rcnZspDk5sFCDI0V98MIMzWNc NCzZn2ZvV5yi+wFr93KbxKKVYB2iI90R543LM7fua1Mm923VcCDdbxytOTW6F3iciDyo Jf2WRL/vt9HNaJc606N4Hq565qSKtA8b4+ArmrzSnycZ3lZcuU9vksXz+us9UOeRZcHG yUC9RCKWlgoXgP69HQiqgMWy/xRjIzIawdEpgZO5zlOE5iDzFRR4Q+vN4cPLJrmBkt9M xgqg== 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 h19si5709297edv.197.2020.10.09.03.01.56; Fri, 09 Oct 2020 03:02:20 -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 S1731743AbgJIGEF (ORCPT + 99 others); Fri, 9 Oct 2020 02:04:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731737AbgJIGEC (ORCPT ); Fri, 9 Oct 2020 02:04:02 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C424C0613D2 for ; Thu, 8 Oct 2020 23:04:02 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4C6yFB6zx9z9sTc; Fri, 9 Oct 2020 17:03:58 +1100 (AEDT) From: Michael Ellerman To: Paul Mackerras , Benjamin Herrenschmidt , Michael Ellerman , Christophe Leroy Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <94dc68d3d9ef9eb549796d4b938b6ba0305a049b.1601556145.git.christophe.leroy@csgroup.eu> References: <94dc68d3d9ef9eb549796d4b938b6ba0305a049b.1601556145.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH 1/6] powerpc/time: Rename mftbl() to mftb() Message-Id: <160222339491.867048.15263486614184650478.b4-ty@ellerman.id.au> Date: Fri, 9 Oct 2020 17:03:58 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Oct 2020 12:42:39 +0000 (UTC), Christophe Leroy wrote: > On PPC64, we have mftb(). > On PPC32, we have mftbl() and an #define mftb() mftbl(). > > mftb() and mftbl() are equivalent, their purpose is to read the > content of SPRN_TRBL, as returned by 'mftb' simplified instruction. > > binutils seems to define 'mftbl' instruction as an equivalent > of 'mftb'. > > [...] Applied to powerpc/next. [1/6] powerpc/time: Rename mftbl() to mftb() https://git.kernel.org/powerpc/c/15c102153e722cc6e0729764a7068c209a7469cd [2/6] powerpc/time: Make mftb() common to PPC32 and PPC64 https://git.kernel.org/powerpc/c/ff125fbcd45d1706861579dbe66e31f5b3f1e779 [3/6] powerpc/time: Avoid using get_tbl() and get_tbu() internally https://git.kernel.org/powerpc/c/942e89115b588b4b5df86930b5302a5c07b820ba [4/6] powerpc/time: Remove get_tbu() https://git.kernel.org/powerpc/c/e8d5bf30eafc37e31ce68bc7ccf1db970fe3cd04 [5/6] powerpc/time: Make get_tbl() common to PPC32 and PPC64 https://git.kernel.org/powerpc/c/1156a6285cd38e5a6987ddee3758e7954c56cb3d [6/6] powerpc/time: Make get_tb() common to PPC32 and PPC64 https://git.kernel.org/powerpc/c/9686e431c683ee7b8aca0f3985c244aee3d9f30d cheers