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 DA9A2C43334 for ; Fri, 1 Jul 2022 14:47:02 +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=+AzVnrouY5hND87WRETrRgKHD5xGZtO7wxuViQF7Mck=; b=kyHBg1N/wDuQnSDoKMx1rVuskU k+WoB4AiQOCBjSiRvHMiynA1pgzO6DT8aWcaEOq1k0LPRHmVau++s5gt/sNRsXxe1OI3H/EvRH1Mz lSFHNeoWLMdXbFrNBSLJ5G6o23288GoLWoigYB9IBMQ9Xb26aqKmJ3Qrv5XmOBoSFtfGOiSMtVNZ+ Y/RrG0XYKro5w1P/21VWBkF8YIVhaETrtEU4e2CZOroHm1WRI3UxZFibuX909YQocuAy4SVD0GY8h ugkY6cbAq3ZbPQbRIoSXFKJKE/XYhVtEhNXZzT7Ax6/E/ukIBNgJYHppPIZ480Fq2vSMS4u1uT/ue XtUomBaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7Hu8-005QNO-BM; Fri, 01 Jul 2022 14:45:56 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7Hu5-005QMN-Mq for linux-arm-kernel@lists.infradead.org; Fri, 01 Jul 2022 14:45:55 +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 sin.source.kernel.org (Postfix) with ESMTPS id 5FF4ECE29BC; Fri, 1 Jul 2022 14:45:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1336AC3411E; Fri, 1 Jul 2022 14:45:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656686748; bh=vRQVbxylmrn4R1EmHg5UzG9Pg/qx5VNvJwzqoYWbN9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=enxxT9KGFbRAOSwFVNuRT06O7vWbYxCm1XmUIRMgeKsqqDBk6/1EXcfAow1V9NGl8 srWZFD9wKazWOXarQTFW3A3sgMHzIETm0fAWjTdi9mLj80xRyqf1iyuOaVmRB6BIak s8DN70Ep6t4lwV/i05cCcVw+3IKiBVzNmBv74MfDS4JJwS08OYIhBYyLp4PJv0/JJT e24CH43HFsacANUNu99EzI5zGNy8d50V65wTWlpxykBdg2vC82cdxO7Az8lZCTU0Vp 7dP+HFA3cijAXd69S51fTUdH5odFMpdWUWW7azwFnUCyKtMFxLCwpt4zDjIsZx/QQe G66f77ApVka+g== Date: Fri, 1 Jul 2022 15:45:44 +0100 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64/sme: Always initialise TPIDR2 storage Message-ID: References: <20220701113409.1765924-1-broonie@kernel.org> <20220701144043.GB28408@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20220701144043.GB28408@willie-the-truck> X-Cookie: Blend until smooth. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_074554_237931_D1462C74 X-CRM114-Status: GOOD ( 15.88 ) 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="===============2102533117826617624==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2102533117826617624== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H27Mq+iYOEd7GtLZ" Content-Disposition: inline --H27Mq+iYOEd7GtLZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 01, 2022 at 03:40:43PM +0100, Will Deacon wrote: > On Fri, Jul 01, 2022 at 12:34:09PM +0100, Mark Brown wrote: > > + else > > + p->thread.tpidr2_el0 = 0; > Why is this needed? If !system_supports_tpidr2(), then we'll just copy the > tpidr2_el0 field from the parent. Given that INIT_THREAD defines this to be > zero, then it looks like it should all work out. > What am I missing? It should be redundant, I just had to check harder than I liked that there wasn't a path where we could get it wrong. --H27Mq+iYOEd7GtLZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmK/CJAACgkQJNaLcl1U h9ALQgf+P+6d1RXLY9S3SxFhdprM869KvtbYG77aLvx9dkPlBmkayV0VK6Bz7lMY BCIKxHe5TRjkAv94LE6b2J8TjyFWIzWg269P/LBFAjd6BTUcsr9moM/hq5K3d0ue n3nd1Efy3+9WtFH5Knp+MbO4Who2FkSFyXwMESzBQY4cTXSQ4aj5lg4bBMg3M5cT ryAi+yIcrBLyF1X/fVvEfF//41DkgjF2n12BcN4Y2bqCCtPVlRBvD/t5kAgZaisU 1bWzUNxXUjZD3R+31ir8wtNPG3kYqbcg38bY0m71fPdjVeK7mKS7usrHcT8lM3gE Z3TG+OaobIAiS/ODuhah8m6ZgedfsQ== =czit -----END PGP SIGNATURE----- --H27Mq+iYOEd7GtLZ-- --===============2102533117826617624== 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 --===============2102533117826617624==--