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 CAD03C433F5 for ; Wed, 2 Mar 2022 13:11:37 +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=R6rCJK+VDUEonyA60U4veywPNj4ouZOZr2bDxopVk7M=; b=cfWt7a9oqChkuJQh/ODyl9HxS7 HE75n7LkJ3AbDYn/MXrJlHMKmA6Z/cT77VDe7Baz9wN73H30osWF1v3+5nD5RS9bG6pBhlvip8jLu w8u4fv68il3foVPKqaJkmM5cP0Oc23TScuUtuIoviG43oqH3WQlJSx30ix9I98MfDN161o0h/Xj/Q Dif3sBhlyLxt8iNCN2IXjXT2D2TTj7H+UbUhGHALz+YaXlO1vZKLt293FjrKKV3w5eRVldXYApYw+ fRjxK0wYFDaWUjBWko4uxcHwmfhanJmZ4hVwIWcyvklPqNUCXgSY8VtiCecOACJ0JjPZ8G3plyffo 8zsjyaRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPOkL-002iku-IX; Wed, 02 Mar 2022 13:10:25 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPOkH-002ijy-Kv for linux-arm-kernel@lists.infradead.org; Wed, 02 Mar 2022 13:10:23 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 187AA61989; Wed, 2 Mar 2022 13:10:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A1E2C004E1; Wed, 2 Mar 2022 13:10:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646226619; bh=ZbIp7G4OjphimtusSXlvFdkcpu2/PyCtRRziIZn9370=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F4Yhx8kX8BTKCgtFcYwNJ4EuhG+wdWGaU5JFp/y4Qau1fAvTxz5//Fkjpr8UDyBOx 1EKZHJIUnO09uKWKlvoigPY443PDhw2Zc2mp+/UQUEaoTPx5+ND+4McLcbJHb6e1gW 9zbY3hdMQ0wvxDSrvnhfE1sdJaTI95Ktqs5ajeTR0bxaGJlSllnNNx0y9OKWgTjkT6 BeiFwouJ/MFcJKrZu1PjdmgPiFsmKclP/LBYWEmtrgDr63LMnOIiNzDCROqv5waSfm wO9vx78CF9/SmbMs52UIA5DurF18O/xrAj16QoATeXh4sJjLg0qwl75BcBmhiLdq8E +v/WdNfmCZaeA== Date: Wed, 2 Mar 2022 13:10:14 +0000 From: Mark Brown To: Catalin Marinas Cc: Evgenii Stepanov , Will Deacon , Joey Gouly , Branislav Rankov , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 4/4] arm64/mte: Add userspace interface for enabling asymmetric mode Message-ID: References: <20220127195712.748150-1-broonie@kernel.org> <20220127195712.748150-5-broonie@kernel.org> MIME-Version: 1.0 In-Reply-To: X-Cookie: The sheep died in the wool. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220302_051021_753473_F48726D5 X-CRM114-Status: GOOD ( 17.39 ) 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="===============2598297570992137473==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2598297570992137473== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SKzEWCzLIRyFpaV4" Content-Disposition: inline --SKzEWCzLIRyFpaV4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 02, 2022 at 11:44:53AM +0000, Catalin Marinas wrote: > On Tue, Mar 01, 2022 at 04:52:01PM -0800, Evgenii Stepanov wrote: > > Extending PR_MTE_TCF_MASK seems bad for backward compatibility. User > > code may do "flags =& ~PR_MTE_TCF_MASK" to disable MTE; when compiled > > against an old version of the header this would fail to remove the ASYMM > > bit. > But if the app is compiled against an old version, it wouldn't set > MTE_CTRL_TCF_ASYMM either as it doesn't have the definition. Indeed - and any attempt to set MTE_CTRL_TCF_ASYMM (or any other bit without a specified meaning) on a system without this support results in an error so it's hard to see how older code could have mistakenly enabled it. --SKzEWCzLIRyFpaV4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIfbLYACgkQJNaLcl1U h9AUlwf/ZDyFFi1zEU8eR0Ul110p7Mk6KVQJ4yyahvPzUAMGNcsXTC/sP+GrVO/S 1jHMXwdoSvmQ9DpD32IWM8F2HTYU6CXKvAZ6X2XiVfXmVjAaEIPITCgkYdubtYPb uJL40QI8Py4OSrNfUQs6nm+AT4xvHYqvjS/ECbdIrQCUcoxF7DK2UXDWvaOhbfUt bmzXhGF3rON6DHQv8NaAs5VEcTV0j4o1ZCvuSubAcYXw12qKVt6hKmV8cfyaU0W9 VOuxvmk5sgKCv3E2vtxpxv5GXh4Fnu6OYb8KnlgVGSW2A0oso9UUmEUbl0ACNnFd XLGxSZROi8RAO79TwqeQ3weKsV9GFg== =s6Ns -----END PGP SIGNATURE----- --SKzEWCzLIRyFpaV4-- --===============2598297570992137473== 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 --===============2598297570992137473==--