Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2576135pxb; Thu, 11 Feb 2021 16:40:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhZ1io2pBHdJX831spuwgxB+42gBcuGcFs3bmUo+UrRu9t6tT7ax88kQUWTekxxpJi3fcj X-Received: by 2002:a17:906:5e59:: with SMTP id b25mr373456eju.536.1613090439589; Thu, 11 Feb 2021 16:40:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613090439; cv=none; d=google.com; s=arc-20160816; b=YbJOufB3Q70bvTmPG1gVghlegYKNkRivzeIp58bhFl2lPfK+b1n88eu2bVzxqo+nC8 Vst4DvyaP0D5BRlTurg1kq4pGemOpy/nxysQPNQbuusLKq2cWvh5CzTOHkVBsklZ7Izz ZFXnFwZYpaqDrxVR7rS0NjcGsbdkdFmh9zk1BXy7SN6+Dud3TXEIsuNaspKRYuaVjmpf TTuq0OHzLiHTQ4G5hoSbzqta9wHSPHjP0yvhgC+Yyyc8xyclBu8CHQ4GF8w/ivp+cfoF v+HoSq3I5cIUvg/NpAnzhO0hFW9TUXFN6uhhAAmXp0EBolsc3vNRRnMItvwsN7lkIgLt K/Sw== 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=UTXYXjqiBK4biqe+eRVQkL0XybMmhF2sqaOjAAIRRJQ=; b=U4I6Sj8Sz/k+N07paW7U+LC3Kc8nIl2NFn0cvmnJNm3NtN3OKoOO6EaCM1x3fIBlKV lP1QfGPgPhXJ951XE2u+g1W1l70rJWF6hYZC0JxEi1/0L+T5jYwhfNOsRK5PikQR25DI lV9gJyL2AMrSOnehFVxZ4N+N0vBWYcOAhKZ2snmal6dmh7/TQhbWvuqez5+NIWMe2OMf L3hjIvfluHeO7UgQqzfafH+bKNOtSk9qIkHwKp0v8Y5YswCe+PizOgYKxxkpT/BiZelW hru3lRD91OQqSZZaphMOMds+0oxSSoV52rTp0GGo13sSgL5AaJWUxtH6kI27CY2fuqeL ad9g== 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 h20si4654367eja.372.2021.02.11.16.40.16; Thu, 11 Feb 2021 16:40:39 -0800 (PST) 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 S230054AbhBLAUi (ORCPT + 99 others); Thu, 11 Feb 2021 19:20:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbhBLAUh (ORCPT ); Thu, 11 Feb 2021 19:20:37 -0500 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 232DAC061574; Thu, 11 Feb 2021 16:19:57 -0800 (PST) Received: by ozlabs.org (Postfix, from userid 1034) id 4DcDf14nxLz9sCD; Fri, 12 Feb 2021 11:19:53 +1100 (AEDT) From: Michael Ellerman To: Paul Mackerras , Michael Ellerman , broonie@kernel.org, Christophe Leroy , Benjamin Herrenschmidt Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <99bf008e2970de7f8ed3225cda69a6d06ae1a644.1612866360.git.christophe.leroy@csgroup.eu> References: <99bf008e2970de7f8ed3225cda69a6d06ae1a644.1612866360.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH 1/3] spi: mpc52xx: Avoid using get_tbl() Message-Id: <161308904751.3606979.3399981869225283560.b4-ty@ellerman.id.au> Date: Fri, 12 Feb 2021 11:19:53 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Feb 2021 10:26:21 +0000 (UTC), Christophe Leroy wrote: > get_tbl() is confusing as it returns the content TBL register > on PPC32 but the concatenation of TBL and TBU on PPC64. > > Use mftb() instead. > > This will allow the removal of get_tbl() in a following patch. Applied to powerpc/next. [1/3] spi: mpc52xx: Avoid using get_tbl() https://git.kernel.org/powerpc/c/e10656114d32c659768e7ca8aebaaa6ac6e959ab [2/3] powerpc/time: Avoid using get_tbl() https://git.kernel.org/powerpc/c/55d68df623eb679cc91f61137f14751e7f369662 [3/3] powerpc/time: Remove get_tbl() https://git.kernel.org/powerpc/c/132f94f133961d18af615cb3503368e59529e9a8 cheers