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 E52A5ECAAA1 for ; Mon, 31 Oct 2022 15:35: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=dcMIiE6jpvV1T01MAU7W6KsCVozY1qPJeaDdJsx4PpY=; b=4zbsx7luGnx3lZGfQHD6fSktUl rIq4WYfkNrL6jnF52LvOWBtnUwSKeXhhV7z31nd4wqXOadgY900P6UaoQkTzepzD8wsbu5lzWK1NP 2cf851imOh5bT0iztUz6dw7ociZjtAt1dNusIDMog9HNUvIIfL7piredorbjTnlk8G+Rbj/oXCTFo DB+iZTj2fXtWT/0yPbwPUaRKTpYv1BGOC7WElpzcHRvypOfi4WOrQVJtAQZrzgapqUQjudPE+OAL7 6ehiTbkhnJ3e9e+TqI/+rHBfgOz/DwlWGwCfv+CLV22G6BH0TWxIiHKCCtQmPaeFtqYhydfiynlmE wqylME1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opWoE-00Cddr-2K; Mon, 31 Oct 2022 15:34:42 +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 1opWoA-00Cdcp-Ky for linux-arm-kernel@lists.infradead.org; Mon, 31 Oct 2022 15:34: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 dfw.source.kernel.org (Postfix) with ESMTPS id 0AC89612DC; Mon, 31 Oct 2022 15:34:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FFC5C433D6; Mon, 31 Oct 2022 15:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667230477; bh=TTa8Mobwf5v8T2EXxEk0k/7vhnDTJBq2SasWNyip/9I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g3l1Zk2b91cU//RPkqpl2rW6m2r/lXe/2QVcnBVfW9X8EeyZou84eYzFnR5FDE/fp b3QO4nkfXHidujB98OGH7vUhAVxDnLDlKr3cCYznSoHM+9gOn/zLyZYhPPdKArkZuz D+++J71bwd3Mdeer6r1aVtvfRKJu5DQ6L0VOpcFZIrkhb6Q2cmwZPUcoP8y44/tq0V +VIWZCmmC3gi3vR+oZJoxDabmsJ35kogSi924Q2Pum43zuKF9sW3V+quHk3qTE3qY0 IptVjD/XPOwttUkMZV+7Ep5FFGHb9MqhA11yzywQgp8c7+R+7CtwPtLj4kplKok7yq HtRFFBsrCdWrg== Date: Mon, 31 Oct 2022 15:34:31 +0000 From: Mark Brown To: Szabolcs Nagy Cc: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 2/4] arm64/signal: Include TPIDR2 in the signal context Message-ID: References: <20221028185046.1316730-1-broonie@kernel.org> <20221028185046.1316730-3-broonie@kernel.org> MIME-Version: 1.0 In-Reply-To: X-Cookie: Sign here without admitting guilt. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_083438_747341_BD2BD753 X-CRM114-Status: GOOD ( 17.33 ) 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="===============7194782068447611143==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7194782068447611143== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3NR3mH5oWSJSImQ4" Content-Disposition: inline --3NR3mH5oWSJSImQ4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 31, 2022 at 03:05:06PM +0000, Szabolcs Nagy wrote: > this looks good from userspace point of view. > originally the magic numbers made some sense, e.g. > esr used 0x45535201 which is ascii encoded "ESR\01", > the new ones seem random. probably does not matter. Ah! That looks like it was just the one I added for ZA that doesn't follow the convention, plus this and the ZT one that are on the list. The fact that there wasn't anything in the code mentioning this meant that when I was adding new values I had no idea that the numbers were anything other than random. Nobody said anything in the many, many months the SME patches were on the list. =20 We could start trying to follow that again and make this something like 0x54504902 (TPI\02 for TPIDR2)? We should definitely at least add a comment about this if we're hoping to have people follow the convention. > Reviewed-by: Szabolcs Nagy Thanks, if I just change the constant I'll preserve the tag if that's OK? --3NR3mH5oWSJSImQ4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNf6wcACgkQJNaLcl1U h9BW7Af/V9z8DDjCEhSNthuJw2yhCJcyTS1FbF0cOBOXZZq9TSlUOjS5IAatg03h NPoX4YiPjumH4J7ote0Xs1/EVV9ahl/STVEqOA54pIbf7JWaQ9EeLhn0no3s1NWS YoAF/GHPKu76kPhYtu0AaR7jlAYCui7kIgMjbs3sI2nkNS9mMrNIoD1LOEDm6vXm QBAFGoiGFjGCBOKf1rHsNKut41fiy2WzDqXHr5SU4IwDCdzvoiX1LOO23vSKhvye qLyK0TlIcNYvbVNUeIP3f2HPWbMKpVqX51Hd+8qWX1eAJR3CO2CmCrqwJDow3ekk dEAyNPF1M+E8DNk+9f5zZIhW6O7EFQ== =Q3p5 -----END PGP SIGNATURE----- --3NR3mH5oWSJSImQ4-- --===============7194782068447611143== 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 --===============7194782068447611143==--