Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1113516pxb; Wed, 6 Apr 2022 09:02:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNv2Y//WDwH/hYAS0vOjKGFYews570LS+6iui3uIqrVydmbS+YYGtfKaMPuHWxIb+brDK6 X-Received: by 2002:a05:6e02:b25:b0:2ca:7476:6f3d with SMTP id e5-20020a056e020b2500b002ca74766f3dmr39397ilu.122.1649260971806; Wed, 06 Apr 2022 09:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649260971; cv=none; d=google.com; s=arc-20160816; b=GAwh2xkoe8G8guL4Lo+gwILxdA9FtP+hqTeFNLbLaFpXCp8i7HdSavymp7QElf4VEl Szh4XoArWja0AcGw7SqB/r7GVw/nBLnxe2lhokRVpSoaPQWP1f/WXtiMYZhO41k5sr9D 9texzHvqs9RNxDhZgLqcjImdfMKjwqFlmD3WF67rvN8Klj4BJz0WhIL7OQJC3OuUxrAO tzIce7IWhlMpr9q+eA2S8/VwDvpdI9kZhqZu2ttoybadCC9Lp69Iyi3eDPp3Hwz7eu3S 9Th32Emc/IUcAJ6bIpwYhPuoc/HXbmEOLHCo5MyqeCgTWMCCJsJ+xSg1Rp12bHDNKrej 1MVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1b1ADMaTmuhSCsYqS1c5Hp2ytKhHQKemEyE4BP+7XoM=; b=AG//zjRjjrUxPa1R9Xitd9DJuOH2WJtP2cf/ziHkAhcXEnqcdJ8tXNr62cFyH85zAb Wg0Fz63Sqbuha0wT7CdC4fFdA+mZvhXR718SJ6sjPzQ7/31P8MFnixKhh1gXphSrvJVo ycsJl+llYkLds5cnzRX7IfqFrhcOkgbn9qf4+qRDYTarG9IEd7GUMZGGohJsmzSTe7K3 0lkKzJQa5fkjGxOW+ijgJVt20IkUkGtLWZ7whIZosAcldbTmPvMc9/SLK7FT1kd1rKw0 Pkqyq2Uql+VzNx6RkJHjlpewSdUnf5owkTmKuXYs9zCuZUjKJe4l1NZmkJjnlfREYswG 6IMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N7tchrJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e3-20020a02a783000000b003237add0ef8si7766965jaj.141.2022.04.06.09.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 09:02:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N7tchrJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE53A1275C9; Wed, 6 Apr 2022 07:49:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234947AbiDFOvS (ORCPT + 99 others); Wed, 6 Apr 2022 10:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235334AbiDFOuo (ORCPT ); Wed, 6 Apr 2022 10:50:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2212B5E9860; Wed, 6 Apr 2022 04:23:30 -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 ams.source.kernel.org (Postfix) with ESMTPS id 767D8B82014; Wed, 6 Apr 2022 11:23:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A2FBC385A3; Wed, 6 Apr 2022 11:23:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649244208; bh=SjcaJJhx4BXe6tnaJctHdMtT1mA4dYXjywpMRbdjPeA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N7tchrJdtzp4jeVjHtb9aLdDQoEL3gt3zjKdL4UzSzCFF6Xg1mW9TB0tAtjFWMIS5 IhpmUGk3sd9JLznarD+6dgCgpH7XT7sVQdm4RhxCGAhJH+16lwkCgGybxONSSm8CJb ckrFdnTXxqUt7zLrcesjQ84WLYHk5LNKM02HG2k8SAfob4vwZQXmW2sOqE4jvprXR3 tWPBPCRUhaCU2jW5ALDmWFhWMq+rCxzWci8pH90PnV+Ewr+aRRMlYvisbpWrKO8NiL rPTbLAfl954xdZM5ROBWBtHjd1Bg+qAatC8RsixNgzPhN7vTv7Qc3l2N2QU5sLwRkG 6n/g3YaDEFlQw== Date: Wed, 6 Apr 2022 07:23:26 -0400 From: Sasha Levin To: Ard Biesheuvel Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, "Steven Rostedt (Google)" Subject: Re: [PATCH 5.15 746/913] ARM: ftrace: avoid redundant loads or clobbering IP Message-ID: References: <20220405070339.801210740@linuxfoundation.org> <20220405070402.195698649@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 05, 2022 at 12:01:19PM +0200, Ard Biesheuvel wrote: >On Tue, 5 Apr 2022 at 11:54, Greg Kroah-Hartman > wrote: >> >> From: Ard Biesheuvel >> >> [ Upstream commit d11967870815b5ab89843980e35aab616c97c463 ] >> >> Tweak the ftrace return paths to avoid redundant loads of SP, as well as >> unnecessary clobbering of IP. >> >> This also fixes the inconsistency of using MOV to perform a function >> return, which is sub-optimal on recent micro-architectures but more >> importantly, does not perform an interworking return, unlike compiler >> generated function returns in Thumb2 builds. >> >> Let's fix this by popping PC from the stack like most ordinary code >> does. >> >> Signed-off-by: Ard Biesheuvel >> Reviewed-by: Steven Rostedt (Google) >> Signed-off-by: Sasha Levin > >Please drop all the 32-bit ARM patches authored by me from the stable >queues except the ones that have fixes tags. These are highly likely I can drop you from future selections as well. >to cause an explosion of regressions, and they should have never been >selected, as I don't remember anyone proposing these for stable. They were proposed by the bot last week (https://lore.kernel.org/lkml/20220330115005.1671090-22-sashal@kernel.org/). -- Thanks, Sasha