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 57064C4332F for ; Tue, 14 Dec 2021 14:29:33 +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=eTg7XHGMn8zDayVn1lzlf23ubuFn18cjvzwAii5MUa0=; b=TKjEj8Hq/U51eHBddwbyptvGFn Xe+Ffcpizv5V07csID3DGFGlFJAngqYEUBj1OM+226umGkrrpjCbPkHdVg3cZJO1fVo51Muw1cARY UXYpO1RmpIi69N2aKNZcAUgewxqKno0ZsA8sCgRgHR3IS3V0Govr+Bek79mmjdKpP7jzDuxvbSdln g26zw+alIT4u2GE1tq7QeGItk1ePOVw3NnfNK9ZBG96PV1109244Lmisv+DDQ7kN3X8hVgBjoy0mT eV6RY33420PJI/06QnJT114TtZc86C1zp3uqLtrfcisq8tcXDZc5Mj/VhSNNrfbpEZxt8g8/+YwXf zGM+rigA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx8mp-00EOxd-M4; Tue, 14 Dec 2021 14:28:11 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx8mm-00EOwt-Qv for linux-arm-kernel@lists.infradead.org; Tue, 14 Dec 2021 14:28:10 +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 842E2B819D2; Tue, 14 Dec 2021 14:28:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC4C8C34606; Tue, 14 Dec 2021 14:28:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639492086; bh=gLyzapRpc175Com8qlkrehiMqsBZnLlz/2Oon8xIHEs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qc3N0i29dJpayNKqW1Qo1lGEEPv6TMB05u7kZTscyEInrI6wA6Gb1ZLL5s0Sm4LWy nHAlIbMzqazvpQ0dkUWcgQOetZfjTMvXwzPbgmoZkbhQ/R3V+w1kv9WWeMaK9k+x3b 2fM5ngdLJ+lqCu84EDOuWlhF/O8Bm2y9vCrmJo2fEBrWWVMMdMfvTc5PVRDEPDBD9P 2kGCrejKYimCUI+nAj4T5TiTDNWHJeWQhjiaaGBMoKKgzrXa7Ih0yYchcgU1o5woUL KmtkEyKYJiKJqtQWDjJ5gzO8FZmIf5PabI96Ga0yhs33ws+AJEzU2CsVCgs6zJMRhK YdPjRA/vIicAA== Date: Tue, 14 Dec 2021 14:28:00 +0000 From: Mark Brown To: Ard Biesheuvel Cc: Will Deacon , Catalin Marinas , Mark Rutland , Linux ARM Subject: Re: [PATCH v3 2/2] arm64: Unconditionally override SYM_FUNC macros Message-ID: References: <20211208160819.3515958-1-broonie@kernel.org> <20211208160819.3515958-3-broonie@kernel.org> <20211213184654.GG12405@willie-the-truck> <20211214141022.GA14661@willie-the-truck> MIME-Version: 1.0 In-Reply-To: X-Cookie: No solicitors. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211214_062809_034937_E3654768 X-CRM114-Status: GOOD ( 18.12 ) 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="===============6198709296523443865==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6198709296523443865== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SaQJXSC7ywjWEgns" Content-Disposition: inline --SaQJXSC7ywjWEgns Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 14, 2021 at 03:12:01PM +0100, Ard Biesheuvel wrote: > On Tue, 14 Dec 2021 at 15:10, Will Deacon wrote: > > I don't have a strong opinion here, so whatever you like. I just tend to > > think that most people will have BTI enabled and there's something to be > > said for having an instruction always emitted when you have a token in > > assembly code. > +1 > I already pointed out computed gotos, which are admittedly rare, but > there are other reasons why adhering to WYSIWYG is strongly preferred > for asm code IMO. The use case for this macro is for SYM_FUNC_START() which is going to be emitting the BTI without it really appearing directly in the code so I'm not sure how much I buy that TBH. I think you're pushing back on uses of the macro outside of linkage.h more than on what linkage.h is doing, that does make more sense to me. --SaQJXSC7ywjWEgns Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmG4qfAACgkQJNaLcl1U h9AAVwf7B+Ee+fKjLjqMWh3LeJuEpSEYzVkkOBVd0EQOZcqJgU0EjthqOXN9I6A2 z6nWa94aCOEav1XD5XNax7iSMqqbQFSFBHQ7pF5VdAoVIrYkseb+859ftXnQVk4W ncq90qeXXJyi4X/5q6Fwb+yPnNEouDRleyKk1Ivovvytdr1ZvuKJW3tiPCN03BQ4 pLr5Px0yuQhn0ANoJReiR5zmJI3oTcUGsaHe+oL7m4gWNXsTVupuDZGVIjsBAPxv 0GudAfwyVMD8Q0PMEzT+PmVon1ShuPsLFkhYEPIjiF1FooTkoY8Fr0jRjb7VEvle ZItRraxsIdLzBRoPT0fwZYyDxv1qEA== =6u3F -----END PGP SIGNATURE----- --SaQJXSC7ywjWEgns-- --===============6198709296523443865== 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 --===============6198709296523443865==--