From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2ADBC4332F for ; Tue, 2 Nov 2021 11:39:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DBAEE61053 for ; Tue, 2 Nov 2021 11:39:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231735AbhKBLlk (ORCPT ); Tue, 2 Nov 2021 07:41:40 -0400 Received: from gandalf.ozlabs.org ([150.107.74.76]:43817 "EHLO gandalf.ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231511AbhKBLlL (ORCPT ); Tue, 2 Nov 2021 07:41:11 -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 4Hk7Fk6C0vz4xdJ; Tue, 2 Nov 2021 22:38:34 +1100 (AEDT) From: Michael Ellerman To: Paul Mackerras , Michael Ellerman , Christophe Leroy , Benjamin Herrenschmidt Cc: Steven Rostedt , linux-kernel@vger.kernel.org, Peter Zijlstra , linuxppc-dev@lists.ozlabs.org, Ard Biesheuvel , Josh Poimboeuf , Jason Baron In-Reply-To: <6ec2a7865ed6a5ec54ab46d026785bafe1d837ea.1630484892.git.christophe.leroy@csgroup.eu> References: <6ec2a7865ed6a5ec54ab46d026785bafe1d837ea.1630484892.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v3] powerpc/32: Add support for out-of-line static calls Message-Id: <163584790887.1845480.9565993990239448984.b4-ty@ellerman.id.au> Date: Tue, 02 Nov 2021 21:11:48 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 1 Sep 2021 08:30:21 +0000 (UTC), Christophe Leroy wrote: > Add support for out-of-line static calls on PPC32. This change > improve performance of calls to global function pointers by > using direct calls instead of indirect calls. > > The trampoline is initialy populated with a 'blr' or branch to target, > followed by an unreachable long jump sequence. > > [...] Applied to powerpc/next. [1/1] powerpc/32: Add support for out-of-line static calls https://git.kernel.org/powerpc/c/5c810ced36ae1a8f1a7403c1635b0dc07c115086 cheers From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 915BFC433FE for ; Tue, 2 Nov 2021 11:44:27 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E74DD60295 for ; Tue, 2 Nov 2021 11:44:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E74DD60295 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Hk7NT32ptz3fJB for ; Tue, 2 Nov 2021 22:44:25 +1100 (AEDT) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee2:21ea]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Hk7Fm5Bfrz2ynG for ; Tue, 2 Nov 2021 22:38:36 +1100 (AEDT) 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 4Hk7Fk6C0vz4xdJ; Tue, 2 Nov 2021 22:38:34 +1100 (AEDT) From: Michael Ellerman To: Paul Mackerras , Michael Ellerman , Christophe Leroy , Benjamin Herrenschmidt In-Reply-To: <6ec2a7865ed6a5ec54ab46d026785bafe1d837ea.1630484892.git.christophe.leroy@csgroup.eu> References: <6ec2a7865ed6a5ec54ab46d026785bafe1d837ea.1630484892.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v3] powerpc/32: Add support for out-of-line static calls Message-Id: <163584790887.1845480.9565993990239448984.b4-ty@ellerman.id.au> Date: Tue, 02 Nov 2021 21:11:48 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Steven Rostedt , Jason Baron , Josh Poimboeuf , linuxppc-dev@lists.ozlabs.org, Ard Biesheuvel Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, 1 Sep 2021 08:30:21 +0000 (UTC), Christophe Leroy wrote: > Add support for out-of-line static calls on PPC32. This change > improve performance of calls to global function pointers by > using direct calls instead of indirect calls. > > The trampoline is initialy populated with a 'blr' or branch to target, > followed by an unreachable long jump sequence. > > [...] Applied to powerpc/next. [1/1] powerpc/32: Add support for out-of-line static calls https://git.kernel.org/powerpc/c/5c810ced36ae1a8f1a7403c1635b0dc07c115086 cheers