Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1320653pxb; Fri, 27 Aug 2021 06:25:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypE3KiNkcvYZrge7K8IuU86WM/0YZmu0BGxCjlZsFy0HCTzGz+L24mlp3uaJ0HxaACreLF X-Received: by 2002:a92:3f0b:: with SMTP id m11mr6791438ila.265.1630070742617; Fri, 27 Aug 2021 06:25:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630070742; cv=none; d=google.com; s=arc-20160816; b=SpWjyIfdIz+MMR7+9JWvWmDN8j/MnruLCkOi5+2946UVkyCSH86uqHTb7DK7nTrtrE ENFQy0ZxxfYwpO9pfxAhJCbnZ29uy57QEkfp5ZOk5wgDSRryayJ9C3Rb6nJNivCuRu+e gt91iWCFYfGgQt3w0mIbyFsQP7w4ukvehNhuzqv5gsvgc0McLKn5IIEfFQs1szQXna0R xdmhHXPtBmz0RfEu4F6o1KK85gCeS1h29yR3bTmhDGaEI2G1oPIvXHFRMQc8z1gcmRr3 yENDru1+nF+ugxsqx0j9XAOB/oF4Gg5Zm8sh/B3q5YF9P54fITFu9vx78EunKuxU5kjK /Zwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=beKuvKEUDqCm07JfdTbeYjBvPOzaP7phhEzRdrUS4FM=; b=GYdG+OhQSJfRZjTkejNDhHINaouIZ9hVhu18ps8TAfw2+e4gvPy4mLzXlOY2GEdo+n fNUIZ/k5Nnn2He0GcsUHf2ZIUvIXbCR0t9LsCRErZBj2OhP+D1WNLNXc2JkuvSdmulXm aOyRZa/MnLFMnLXJGWYCULa1JHg2F4Rtpt/rpEG8EtM5EyWgeo8/SzWIxMoE9kYkzuvB kQovi7nXEKZ5xdhY8V/iR9SxD+EZUcxeizs+j0U/CeirBah9faNLlep9Dw4kEPL1pwGr kZc8lQim8KOlHPxATOPInV1wSqM6OXzM58B5wEkvLu6+JOfVyYsONbutZYUWYjAD0aco bMQg== 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 g2si6486906iob.28.2021.08.27.06.25.29; Fri, 27 Aug 2021 06:25:42 -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 S245290AbhH0NXc (ORCPT + 99 others); Fri, 27 Aug 2021 09:23:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245356AbhH0NXW (ORCPT ); Fri, 27 Aug 2021 09:23:22 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E6B9C0611FA for ; Fri, 27 Aug 2021 06:22:05 -0700 (PDT) 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 4Gx0k16fKwz9sWl; Fri, 27 Aug 2021 23:22:01 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Christophe Leroy , Paul Mackerras , Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <91b1d242525307ceceec7ef6e832bfbacdd4501b.1629436472.git.christophe.leroy@csgroup.eu> References: <91b1d242525307ceceec7ef6e832bfbacdd4501b.1629436472.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/32: indirect function call use bctrl rather than blrl in ret_from_kernel_thread Message-Id: <163007015584.52768.11072289865515594442.b4-ty@ellerman.id.au> Date: Fri, 27 Aug 2021 23:15:55 +1000 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 Fri, 20 Aug 2021 05:16:05 +0000 (UTC), Christophe Leroy wrote: > Copied from commit 89bbe4c798bc ("powerpc/64: indirect function call > use bctrl rather than blrl in ret_from_kernel_thread") > > blrl is not recommended to use as an indirect function call, as it may > corrupt the link stack predictor. > > This is not a performance critical path but this should be fixed for > consistency. > > [...] Applied to powerpc/next. [1/1] powerpc/32: indirect function call use bctrl rather than blrl in ret_from_kernel_thread https://git.kernel.org/powerpc/c/113ec9ccc8049c3772f0eab46b62c5d6654c09f7 cheers