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 EA35CC433F5 for ; Mon, 29 Nov 2021 16:52:13 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Dp9QxnelJVnw59+7RFQDKGgng3ofVyPi5eFGt/97u8I=; b=rDThHUbTf4ifkt6Nq5XBK9SJ9W 6kOout6TAlStZJIrTgBQZR4acgS8CWuCK4Hs7Uf6v/u6LJ6/6R7N9TGMEgdDWZdK/4SLp2zwkahvH zq2cwS1Y509Uy2ys+//avbaRa3ToUYYdSSlqYVF+ozlvBw2FVh4keJTqYlcfdUq6Pg/BBjg9V9uaa Je0Ym3Zm7FPMnXxoPwtho8jvLxIGoL7s8spE5MmvG+G2qIOvV5NX2RhD8HTBkt7DSpwmwJYBsPxSC 97PldJdFF7CKtrFur6G6lYnq01Ti1Df0JIM7YnTEtggKP7OkL3uOxxYnkpmZYMrUD87A7TIbXqfWQ h/trzlgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrjrg-001UlW-4v; Mon, 29 Nov 2021 16:50:52 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrjrb-001UkN-8B for linux-arm-kernel@lists.infradead.org; Mon, 29 Nov 2021 16:50:49 +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 ams.source.kernel.org (Postfix) with ESMTPS id 31BFAB8121A; Mon, 29 Nov 2021 16:50:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8D9EC53FC7; Mon, 29 Nov 2021 16:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638204643; bh=9DcVjcYWUcHtugirY3yOPcdAH16E6acCBiBkcB73viY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JCWPv8mzzXI2cZaO+jNIiakJCWL5J1e1tWZvDN3j3zEMa66r+9PuAoRpQLHvTzEMo CtlxLrKFdbfcewsKHPmzwPi5b6RoodJVGAFACewqXEDaXLegeYmZDYmYFAHd23hvTV TqI4G5AOEgC+vU2kms9dcb3csCK9N1h54rRgCbiy9iHJ2uYoF73U4DIWH5DAPx++Sy Vd33yxml6930snRY3Adihga+lSQR35N76g5z/udLCD7vaK9u+gY8qUgURwOw5393Qe kpH5wsT1eTpgz+4dYQlKNbrk0zXiuy7jY1i2/rdb1tzYuwirC9pvu4/e+k9E0rYqEG No83wWBmt5OQg== Date: Mon, 29 Nov 2021 16:50:39 +0000 From: Mark Brown To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will@kernel.org Subject: Re: [PATCH] arm64: ftrace: add missing BTIs Message-ID: References: <20211129135709.2274019-1-mark.rutland@arm.com> MIME-Version: 1.0 In-Reply-To: <20211129135709.2274019-1-mark.rutland@arm.com> X-Cookie: Thank god!! ... It's HENNY YOUNGMAN!! X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211129_085047_470072_91DA8D33 X-CRM114-Status: GOOD ( 13.19 ) 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: multipart/mixed; boundary="===============6414920443470695688==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6414920443470695688== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HLnrDD1ALR+fhqYY" Content-Disposition: inline --HLnrDD1ALR+fhqYY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 29, 2021 at 01:57:09PM +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. Reviewed-by: Mark Brown > In future we may wish to consider adding a new SYM_CODE_START_*() > variant which has an implicit BTI. > +#ifdef BTI_C > + BTI_C > +#endif The ifdefs here feel ugly enough that it might be worth doing that right now TBH. I'm trying to think of any cases where we might also need a BTI J but nothing springs to mind right now. --HLnrDD1ALR+fhqYY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmGlBN8ACgkQJNaLcl1U h9CzPQf+KCjYBmtkiZ1wWWOIED97VlRCiahbFKoso2IfIBlzsyO4dzjWYfKYqWqJ Yli5kBvjwT32gy3ee8YtqoFTmnrWRN7nr4T6VCLI/qg5Bp4NYAscvO2mYkERAPUe SSMPDkTaUiJzDVu5cGtmvk1EdEd4IWkq6mdXW7iX5N4IZXH2Yaz4nQw83wrFP1lP Rew6fhavMSNMoskW+tXsRRI3AHURw/Lj8EM+TwpO7OSvJXWj3mkH0prPlGC27Xh1 dYKiWSAQaR+wlEy3+W72rrFsouBIGYRo2Kd86FZ7iePTU5Wghv8agWUQieHaPQrH DdUg33xsXrXxPsT34A2Uc/c6+C4ARw== =ouKk -----END PGP SIGNATURE----- --HLnrDD1ALR+fhqYY-- --===============6414920443470695688== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6414920443470695688==--