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 66EB3C433EF for ; Tue, 8 Mar 2022 13:36:08 +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=kMojib9NkYuygXy+V1lXofpUhsFZqm5ZpBKOsf1y/Kw=; b=1/Zr83T0lZOl0FFeJJwzprqHUA Bc3xGngLz1W/0e4hpzt8NdL5myfBKzeR+l8LRHWkTDqNt6WApuD8Dh2lT9RKVmEhObobdAnZEpbbt 98iOWmOgBZwVsxV6YLu3FShQhraRwXCQNB1QPNl2v32Yy/Sqwxlmr104S45BPuTmQMsBmD4tUCQAE 1liRLmSyqD+WYhih4VRqLRVE17p5v3sw7mj8nssyWgdTnsRFnEr+hN2LRuwgIXh3IE9/33zN223+/ TfwNjmKNPR/IcxCvry2SXqMw7aTBL8vt3sUKAElJF7jvlZFWAZ8npQ+iHbDGM5KkvwnnjChGOqO9e PL1UjhvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRZzT-004Y9f-GC; Tue, 08 Mar 2022 13:35:03 +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 1nRZzP-004Y7w-6k for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2022 13:35:00 +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 6C58CB81624; Tue, 8 Mar 2022 13:34:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7E54C340EB; Tue, 8 Mar 2022 13:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646746496; bh=ZnDkUhqKasrwGqBh0iEFYzeeKm55eSnvVGsGsm4qfHI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lemSHLiCybAF0ersEqfeic7sQU5ruvFmB0iIti7iO7x/ukO0WrRmD59+fzodrVdkd wifxc1grzPWrhMrSNuasL/LRPnNYq7E6fD5/cZQIFT1zzVugRpNwTVWi54dcotlcXY mebzPD77LSpvU0VDHWuMlOmOR32k0MgPx4pwTaDuMStA4Kyn6eaLq2IaJnrcQEon4u FziIiAZuY4ZV/uY43pgNWMOrJysSwwKs8Gts6Tt/z1rkm6E/4c5ktsTjOB/BpfWXZ5 gMViJ0Aslabun20SqjrcV3LAtGlh+bsnoA50xx8i7EZy7acu/4gsYjxc/GoltNKWb8 Fbk5D/7Y7RXwg== Date: Tue, 8 Mar 2022 13:34:49 +0000 From: Mark Brown To: Peter Collingbourne Cc: Catalin Marinas , Szabolcs Nagy , Evgenii Stepanov , Will Deacon , Joey Gouly , Branislav Rankov , Linux ARM Subject: Re: [PATCH v1 4/4] arm64/mte: Add userspace interface for enabling asymmetric mode Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Cookie: Dental health is next to mental health. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220308_053459_415756_52BE649A X-CRM114-Status: GOOD ( 15.83 ) 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="===============1878992981971483583==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1878992981971483583== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MxCw8ceBVwEK2ZuP" Content-Disposition: inline --MxCw8ceBVwEK2ZuP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 07, 2022 at 12:55:31PM -0800, Peter Collingbourne wrote: > I agree with Mark that there are going to be (to some extent > hypothetical) compatibility problems no matter what we do. I think a > good way to think about it is: if we need to do the same thing again > in the future (in this case, adding another mode), which design would > allow us to avoid the same potential compatibility problems? To me the > PR_GET_TCF/PR_SET_TCF control seems like the best way of avoiding > that. Providing a decomposed version of the prctl does seem like the most robust thing for future changes, I think it's mostly a question of working out if it's worth the effort of deciding how to handle the interaction with the current ABI. I do question how sensible it is to have multiple enteties in userspace managing MTE without coordinating with each other. --MxCw8ceBVwEK2ZuP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmInW3kACgkQJNaLcl1U h9AR+gf+KR81TAInx7km/nNozvLwqmXpSfp9IcC8C7tcqIcxZiIx03Em6Lx12M+r JFfmCH8mVRDx162Xat266BiOOXslExvMy4ZI8LsyZzEmxNFNp7cunec5ziRuLB/O jZ3CZDRGmxRIAfXu/TE9hUaPavxeagKF2kOAj1nLBvbgXJkAqDAolITzXNwLRl3K KmgwSeRyLtxRxp59LN1y7mDX/6BNRwgg5JcQpn11HkZajkzsMnnqBV6FCVVF1HN+ ABRvv236ag8DB3N/45nrYJrYly1vRlX7gIWO1i7V+iFKLPw9sLYrNhUtEZbhOZQr wjxtO3yjSZpJzG+Vq8ekbb6KwC+/Dw== =r8Ff -----END PGP SIGNATURE----- --MxCw8ceBVwEK2ZuP-- --===============1878992981971483583== 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 --===============1878992981971483583==--