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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4ECF1C433EF for ; Thu, 2 Dec 2021 11:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BFNpZmYFtdI950IA6V4fxE4NffnK5HnVd38p4AoHXwo=; b=IpJpkU2VxzJ+RT 8SKeJ/zvMg7Xmx7Ndplm2Yd+2IKEMA5xS89qTzvuRGJFndxiCkhHfLYr2g3sLjHZzldnc692NO5al UnUliU1JDoe7CQ2UVTK3+zFZD5JyUb7yLBeSpLRxC4uJmP0OGIEBjH/fOeZvCRFQsJiCgU36EPE9J +4iJzsG0bqREiYXNcvJyCiU7jTTF9w529TNbN4e79pao/I6kXgMWu8B3Ru+JmAwh9lafyMzaT3J+2 faiJWdsYxOTJ742zH9t+7GWkUmsGRbkFmg6MK3uaMYIvNethJGyVa7s6W9rBjVCnaZwLAoIEfZu/8 OtgntRiFENoXGSfED4jg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msjom-00BuVX-Hn; Thu, 02 Dec 2021 11:00:00 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msjoP-00BuNP-NM for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 10:59:39 +0000 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 sin.source.kernel.org (Postfix) with ESMTPS id EBEA1CE221B; Thu, 2 Dec 2021 10:59:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7DF0C53FD4; Thu, 2 Dec 2021 10:59:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638442774; bh=sqmP0lxt7GT+dsGZeK8A8KEg7Ua5hz2xWlxzHPqTpDM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f/0Tlvw70YVvRVQ9+RqTN6Qvbm3523i9x+RkIgFuVvBlCX5zrc0O1kqwfnL1MaJqe /P2yjaAOh1RSBJQGOcgx60U9ZHLzLlvdMw8dvIzH6eXeJDOingbX0HFgCEUDMuVghw 1CLO72QtVAaxDvxMGwMxnJx6/1TJmEn/SZqqOusV3CyDtV6qVMKb9AqHOQSTpyTY0A 0iOf/t+xxp67DbW42ZwPTKaxvqO6HSiJcwY3DcdsqvokTTjyLDIp3To0vmUFpDURbZ 1BLQWNk5aAMph54IPhpRhhIS1Ls7hagvOEdEJMX74YUIk3qxqWnh0ZtS38K+OZ5E0F 0Bs2npiXacOKQ== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Mark Rutland Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , broonie@kernel.org Subject: Re: [PATCH] arm64: ftrace: add missing BTIs Date: Thu, 2 Dec 2021 10:59:25 +0000 Message-Id: <163844031333.26177.13171558934970707428.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211129135709.2274019-1-mark.rutland@arm.com> References: <20211129135709.2274019-1-mark.rutland@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211202_025937_976440_9861E37A X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 29 Nov 2021 13:57:09 +0000, Mark Rutland wrote: > When branch target identifiers are in use, code reachable via an > indirect branch requires a BTI landing pad at the branch target site. > > When building FTRACE_WITH_REGS atop patchable-function-entry, we miss > BTIs at the start start of the `ftrace_caller` and `ftrace_regs_caller` > trampolines, and when these are called from a module via a PLT (which > will use a `BR X16`), we will encounter a BTI failure, e.g. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: ftrace: add missing BTIs https://git.kernel.org/arm64/c/35b6b28e6998 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel