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 05108C61D97 for ; Fri, 24 Nov 2023 12:31:46 +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=7ojqtYTcRCkmvaMZtKKazodJ4SuWllnuT9rOIeDgnAs=; b=SVVRty7S6CoTML+meDVaAkLh1l 9aLuoZC3FasHnNBSdlO7qvSkJ4XAdszgAnqP24diXgYKOuWzoYtL4axDCsal+Qs/7PtFRtTJnjJT/ XUcoqqR3apCohXr8UxRFfwKD160c7DRjXJEk3UysiqQX+W5ICMhCAvmeJwwg7DfMPbSBiUxRvejys E6B/ub4kGAKK0NGwevfu1fAvmpkmJHk1ThGI1iwQusxQrLQXnqZyqurzJ8Fp2bYTt1rqvHvT3nQD4 02xGX2UWjazuPN/33F4MJ95OsiwV8QEgS+UtTX0ybIlXos3m2+fFVn1wyuN35AK1wSe7bwOh0VXsc Cv73rRvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r6VL3-007Cpn-15; Fri, 24 Nov 2023 12:31:17 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r6VL0-007CpN-06 for linux-arm-kernel@lists.infradead.org; Fri, 24 Nov 2023 12:31:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id AD235B8305A; Fri, 24 Nov 2023 12:31:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61F7BC433CA; Fri, 24 Nov 2023 12:31:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700829072; bh=zYT8ProvuvKT6lPRiWtjIsBUEZkLw14ZHv9nreWRfCY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dN0YQvfTfTcuU6bmACZu5XirFb75BEQ3eRj2CFbJQz8gJhCMeIejrDPt/S1/oYi2Z QjMbMr7sqv6YVzBhZDRj2yVHZ30z5x2pbI+0gQbp524INBRTA0sDYtoggH0554sIee 9Hb7yg7Q8QsL72V5VPI2uMfo3UWDiFf/u5WCbRN7xxU8C3iWuROWHtdaVwUmRzb765 K48xbSN336uzZbfc+A7CqvQO4Y2zfsVczXTGdqgwSKGycldKji+GuIMCPKKTl46WxQ bI90eGLL1n6dTyNA427R0BEMaVH5u2YIvX06pG6HFoVFv0ur60cGstbdHJ+Pbnj9vO U0cnkGkr2wNNQ== Date: Fri, 24 Nov 2023 12:31:07 +0000 From: Mark Brown To: Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Marc Zyngier , Will Deacon , Mark Rutland , Kees Cook , Catalin Marinas , Eric Biggers Subject: Re: [PATCH v2 3/4] arm64: fpsimd: Implement lazy restore for kernel mode FPSIMD Message-ID: References: <20231123174433.737171-6-ardb@google.com> <20231123174433.737171-9-ardb@google.com> MIME-Version: 1.0 In-Reply-To: <20231123174433.737171-9-ardb@google.com> X-Cookie: Slow day. Practice crawling. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231124_043114_224388_4185A837 X-CRM114-Status: GOOD ( 11.48 ) 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="===============4470589275507279497==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4470589275507279497== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jN1qV2OIpOia0qvC" Content-Disposition: inline --jN1qV2OIpOia0qvC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 23, 2023 at 06:44:37PM +0100, Ard Biesheuvel wrote: > From: Ard Biesheuvel >=20 > Now that kernel mode FPSIMD state is context switched along with other > task state, we can enable the existing logic that keeps track of which > task's FPSIMD state the CPU is holding in its registers. If it is the > context of the task that we are switching to, we can elide the reload of > the FPSIMD state from memory. Thanks for doing this: Reviewed-by: Mark Brown --jN1qV2OIpOia0qvC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVgl4oACgkQJNaLcl1U h9AJywf9HuL90crxXjxIt+iAvSPAakJqspZY0GMcR8SKJXuXzN2pNfujiLME/Gj5 5lNsZUUfk4YTb/JN/nYOylvs9xPFSULcVRJ54LB3+rOU494SVPsJQr188Tbg9a2U ezYDF7GlRBXkfePz1VuvRiK39RjK8DYf2tjgbf1shCloDUy5wLuzkEkHhygNSm6W empdU4bJ51TjPXhcQ+jeqBRqaRmZ9i4FP/BtQfELF7vsIyImXM2LnTuCvIfKMOPH PCqfqJigJTxAkKTtHccltCp6Nkd8M9nfqZhGss2mj61UHagMtKQrK1+YwM9/l7Cc AZ/TOznblqE7voIZHPBCyTLRNx4kBQ== =mQyZ -----END PGP SIGNATURE----- --jN1qV2OIpOia0qvC-- --===============4470589275507279497== 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 --===============4470589275507279497==--