Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1287379pxb; Wed, 10 Feb 2021 05:05:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrZ065h/qseSUnbAAmbA7bOWVh1sSS1ywoMPtKERd9gXyyW4H1ReLYRCFAuhZUFPCP87ja X-Received: by 2002:a50:fe11:: with SMTP id f17mr3063747edt.88.1612962351000; Wed, 10 Feb 2021 05:05:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612962350; cv=none; d=google.com; s=arc-20160816; b=Z8fVuVAq1QbGx0zFw+TFOQGs6V3zHjxVopHl0bMLNoH8JK3jwMO5xG49+UdULlA40v K/8CjkHVx5/e4IH3CBqL0JY5RJ7oEHnrzKPRozOJFhLnkU170w0ZGNLlB71S8P/edMdG k8fFvFgNYcEAU3sDreoBIMXvklMBXFuRB1+GpcKtLEWwR+YYgH/ciq2Fvk5Hqt+7Zl5H 7PCEVvTVeHc6BEErKu8kmwqk4uStcV07Il7NCCTOVcVh7yGXfJLd+s2L7EpIzWl8/Dty WQAGCl60CK+cd7h0OcyOW2RfP4jmz4bjxtVdp3rv3ZijXL2F2aq0JjUFm+dFwNivrGPF bHbA== 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=E2UfZz3nfKyc7Q8pEbF+qs/zceBGuej1DaHzSsafdjI=; b=inslzwaEXnHn49m3aW0QEOSie6vDRQBA2Yw6hIPlIZNY4T+BgASdilzFtnjxuIKJ59 aDSzpxr//7x1XLyhYYdCIsGBeioVXlYaAeVcAhglmWaTqvBMmtKTVg5TZE0Bs3EAX0VF iiltAg4coaNp4byBeoeYqMzLacm/BzFVWYWZJh26kCTMymqfINvxmEcrmdKS/KM9R1N2 Wm0Tiby1ZDKvIjXk8UBUFs70Wmn8mjOlR8ZgylP+gl73iYkop1SpTotUctgqehqPkPb3 V2XNdY1em91WQROhSix6hYrkrb96MjW9a4CH2ODXEpC78v0qfqwGuW0HUWnUHXqkh1zv bH9A== 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 p26si1222581ejb.694.2021.02.10.05.05.26; Wed, 10 Feb 2021 05:05:50 -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 S231445AbhBJNCC (ORCPT + 99 others); Wed, 10 Feb 2021 08:02:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbhBJM5x (ORCPT ); Wed, 10 Feb 2021 07:57:53 -0500 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 642EBC061756 for ; Wed, 10 Feb 2021 04:57:31 -0800 (PST) Received: by ozlabs.org (Postfix, from userid 1034) id 4DbKY2037Wz9sWR; Wed, 10 Feb 2021 23:57:24 +1100 (AEDT) From: Michael Ellerman To: Benjamin Herrenschmidt , Michael Ellerman , Christophe Leroy , Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <72c7b9879e2e2e6f5c27dadda6486386c2b50f23.1612612022.git.christophe.leroy@csgroup.eu> References: <72c7b9879e2e2e6f5c27dadda6486386c2b50f23.1612612022.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH 1/3] powerpc/32s: Change mfsrin() into a static inline function Message-Id: <161296172491.3178259.6717759918429909544.b4-ty@ellerman.id.au> Date: Wed, 10 Feb 2021 23:57:24 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 6 Feb 2021 11:47:26 +0000 (UTC), Christophe Leroy wrote: > mfsrin() is a macro. > > Change in into an inline function to avoid conflicts in KVM > and make it more evolutive. Applied to powerpc/next. [1/3] powerpc/32s: Change mfsrin() into a static inline function https://git.kernel.org/powerpc/c/fd659e8f2c6d1e1e96fd5bdb515518801cd02012 [2/3] powerpc/32s: mfsrin()/mtsrin() become mfsr()/mtsr() https://git.kernel.org/powerpc/c/179ae57dbad1b9a83eec376aa44d54fc24352e37 [3/3] powerpc/32s: Allow constant folding in mtsr()/mfsr() https://git.kernel.org/powerpc/c/b842d131c7983f8f0b9c9572c073130b5f2bcf11 cheers