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 55E227E5 for ; Sun, 13 Nov 2022 22:31:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 645F0C433D6; Sun, 13 Nov 2022 22:31:02 +0000 (UTC) Date: Sun, 13 Nov 2022 22:30:58 +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 4/8] arm64/fpsimd: Stop using TIF_SVE to manage register saving in KVM Message-ID: References: <20221021230321.1159287-1-broonie@kernel.org> <20221021230321.1159287-5-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-5-broonie@kernel.org> On Sat, Oct 22, 2022 at 12:03:17AM +0100, Mark Brown wrote: > Now that we are explicitly telling the host FP code which register state > it needs to save we can remove the manipulation of TIF_SVE from the KVM > code, simplifying it and allowing us to optimise our handling of normal > tasks. Remove the manipulation of TIF_SVE from KVM and instead rely on > to_save to ensure we save the correct data for it. > > There should be no functional or performance impact from this change. > > 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 39A5BC4332F for ; Sun, 13 Nov 2022 22:32:18 +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=Z8LfMAobfi1bksiEtla3khUWppwyBmactkhJAxliNfk=; b=u7d+sqtEi8Za9/ bYjzZDX0wN240avUBlz7E9554nFe+4I4bNTfvwtkGCApPOfKYXBlY9H7IvmC9/HtzxwpGfel59fY/ gz2PSBuoSlTk/Z7nrdxex69d0fbYHoDVHLj4oDZbL5UOkzQWFGLOHFJCtSuh3WD3ipPVOA3t+MB2L 9VA+/fJGSzQJ9lp2rb0/C12SrW1iGfWNWshcte+gH3XuXslqi69Jn0/TZECVsdsil3fELDL/7RjF1 w2P725VLMoR2Le5pLXmJgZHeevkGJI9FFx3U/D36JbsT2joyOemJ6K7oc51LphU2xZpT6GNmsyexm znUFjjQilvh9HG6xjrcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ouLVN-00Ef5N-Vs; Sun, 13 Nov 2022 22:31:10 +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 1ouLVK-00Ef3f-VE for linux-arm-kernel@lists.infradead.org; Sun, 13 Nov 2022 22:31:08 +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 6257DB80CB8; Sun, 13 Nov 2022 22:31:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 645F0C433D6; Sun, 13 Nov 2022 22:31:02 +0000 (UTC) Date: Sun, 13 Nov 2022 22:30:58 +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 4/8] arm64/fpsimd: Stop using TIF_SVE to manage register saving in KVM Message-ID: References: <20221021230321.1159287-1-broonie@kernel.org> <20221021230321.1159287-5-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221021230321.1159287-5-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221113_143107_175994_B6FD693E X-CRM114-Status: GOOD ( 12.94 ) 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:17AM +0100, Mark Brown wrote: > Now that we are explicitly telling the host FP code which register state > it needs to save we can remove the manipulation of TIF_SVE from the KVM > code, simplifying it and allowing us to optimise our handling of normal > tasks. Remove the manipulation of TIF_SVE from KVM and instead rely on > to_save to ensure we save the correct data for it. > > There should be no functional or performance impact from this change. > > 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