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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22B61C25B0E for ; Tue, 16 Aug 2022 10:56:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233900AbiHPK4I (ORCPT ); Tue, 16 Aug 2022 06:56:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235189AbiHPKzi (ORCPT ); Tue, 16 Aug 2022 06:55:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA939240AA for ; Tue, 16 Aug 2022 03:24:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 11ED561314 for ; Tue, 16 Aug 2022 10:24:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1BA1C433D6; Tue, 16 Aug 2022 10:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660645441; bh=OGnyQznwhkmE0Q7EHLDZmctSjbtj808bOFOKnuZOwi0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WahpJZECpAyMYMcXF4qwRGqr9IGicSzyy/uA5UVDr/8unlGoepk1vWHNtOJ1SwpOo AXdOCqSgQa4FALk5sNQiquWPMo7AelV+aMAeSj3AFqwZkIQAtfheoGXqUaSnRJ3xeQ oIhQKO+OSk7lWAK+km4nkeUqI/Wzc4fHHgZ+KEw4= Date: Tue, 16 Aug 2022 12:23:58 +0200 From: Greg KH To: Thadeu Lima de Souza Cascardo Cc: stable@vger.kernel.org, paul.gortmaker@windriver.com, peterz@infradead.org, bp@suse.de, jpoimboe@kernel.org Subject: Re: [PATCH 1/3] Revert "x86/ftrace: Use alternative RET encoding" Message-ID: References: <20220816041224.GE73154@windriver.com> <20220816082658.172387-1-cascardo@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, Aug 16, 2022 at 07:16:25AM -0300, Thadeu Lima de Souza Cascardo wrote: > On Tue, Aug 16, 2022 at 11:18:52AM +0200, Greg KH wrote: > > On Tue, Aug 16, 2022 at 05:26:56AM -0300, Thadeu Lima de Souza Cascardo wrote: > > > This reverts commit 3af2ebf798c52b20de827b9dfec13472ab4a7964. > > > > > > This temporarily reverts the backport of upstream commit > > > 1f001e9da6bbf482311e45e48f53c2bd2179e59c. It was not correct to copy the > > > ftrace stub as it would contain a relative jump to the return thunk which > > > would not apply to the context where it was being copied to, leading to > > > ftrace support to be broken. > > > > > > Signed-off-by: Thadeu Lima de Souza Cascardo > > > --- > > > arch/x86/kernel/ftrace.c | 7 ++----- > > > 1 file changed, 2 insertions(+), 5 deletions(-) > > > > What stable tree(s) is this to be for? > > > > Context is everything :) > > > > thanks, > > > > greg k-h > > Yeah, I was just thinking that I missed it, and whether I would be able to > respond to my own message before you did. :-) > > This series is targed at 5.15. I will look at 5.10 next. Thanks, I'll queue this up after the current 5.15-rc is released later this week. greg k-h