From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54A9E256D for ; Mon, 14 Nov 2022 09:24:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A601C433B5; Mon, 14 Nov 2022 09:24:11 +0000 (UTC) Date: Mon, 14 Nov 2022 09:24:07 +0000 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Marc Zyngier , Zhang Lei , James Morse , Alexandru Elisei , Andre Przywara , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 5/8] arm64/fpsimd: Load FP state based on recorded data type Message-ID: References: <20221021230321.1159287-1-broonie@kernel.org> <20221021230321.1159287-6-broonie@kernel.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221021230321.1159287-6-broonie@kernel.org> On Sat, Oct 22, 2022 at 12:03:18AM +0100, Mark Brown wrote: > Now that we are recording the type of floating point register state we > are saving when we write the register state out to memory we can use > that information when we load from memory to decide which format to > load, bringing TIF_SVE into line with what we saved rather than relying > on TIF_SVE to determine what to load. > > The SME state details are already recorded directly in the saved > SVCR and handled based on the information there. > > Since we are not changing any of the save paths there should be no > functional change from this patch, further patches will make use of this > to optimise and clarify the code. > > Signed-off-by: Mark Brown Reviewed-by: Catalin Marinas 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 55C54C433FE for ; Mon, 14 Nov 2022 09:25:23 +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-Transfer-Encoding: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-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8JOTw5LL1zDfLpO2tUjYKzZh5o9L+NaYqcf8KTizO4s=; b=P7K7nGfK29+8RO U67cYzEu0jJulmg68lJD9mJGqK3qdMZvvV1ekIW2J/sYI4GJrpFmO5bIqct27HOmNd4Ge2HVBofC7 G9Q4A0jHpLGqSTKf0EKCae9xvVaqeEWCa1qKtNlx0eGP42iExIWv0mTSgt2ccfv66FIX3z1qf/eXK hQl5ilej4lVWMx1fOTFvPGIcwgzXM82N3IpeGwEwhNbMOhcy15ntX/tlIzzKn81fXgtbRIuRnB/pW vo9GRF2BfkWPONjRMXr4XlN0ZbZSp7UfkJUbdHRWr8GessGwaDEdtnPZEO35ziFYU96/JoRlPQPVx H13zbiqvkoxm1gouUjbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouVhT-00HAyU-2d; Mon, 14 Nov 2022 09:24:19 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouVhP-00HAxb-Li for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2022 09:24:17 +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 51671B80D83; Mon, 14 Nov 2022 09:24:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A601C433B5; Mon, 14 Nov 2022 09:24:11 +0000 (UTC) Date: Mon, 14 Nov 2022 09:24:07 +0000 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Marc Zyngier , Zhang Lei , James Morse , Alexandru Elisei , Andre Przywara , kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 5/8] arm64/fpsimd: Load FP state based on recorded data type Message-ID: References: <20221021230321.1159287-1-broonie@kernel.org> <20221021230321.1159287-6-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221021230321.1159287-6-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221114_012415_872008_33F7F91A X-CRM114-Status: GOOD ( 15.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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Oct 22, 2022 at 12:03:18AM +0100, Mark Brown wrote: > Now that we are recording the type of floating point register state we > are saving when we write the register state out to memory we can use > that information when we load from memory to decide which format to > load, bringing TIF_SVE into line with what we saved rather than relying > on TIF_SVE to determine what to load. > > The SME state details are already recorded directly in the saved > SVCR and handled based on the information there. > > Since we are not changing any of the save paths there should be no > functional change from this patch, further patches will make use of this > to optimise and clarify the code. > > Signed-off-by: Mark Brown Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel