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 X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 673F2C43381 for ; Wed, 17 Mar 2021 14:31:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E4F064F70 for ; Wed, 17 Mar 2021 14:31:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231853AbhCQOab (ORCPT ); Wed, 17 Mar 2021 10:30:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:53752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbhCQOaX (ORCPT ); Wed, 17 Mar 2021 10:30:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9C3B864E13; Wed, 17 Mar 2021 14:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615991422; bh=UlkZsQXs/INZ7pDMa7O0/XSCqYnvaCwSyP15Y4oHfBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hFx9pj3srcAi0u0CpljilC3snQR+d5s9R7a0k0W8ptjPW0eN4SEjapr+wS33FekVi XOzbYuLA/9gGsmJuv0LpFlDQHH89VheWLZb08wc3igTJit0iPaAdI+S7J9XJO0wOg8 C83NhCElONH+N6hDeMGDyUG6GiI1PGjSOgDNEtoA9Ym7DsI3m5dgTdr7bzTQZhj0Ba OhuIV6ZREfoRWGJqEDevzYSLcrG0GbW8R22p1UV+HMmWJdMzr/vo2xP1Q7HFgwMpQ8 EMX4rA5txr3B/Gg7lhydc6fuGBCia7u7m3tdS1llYXdnxDDl3FPvwh1LA8Ocm6Aehe 12Xc8fVU1bm6w== Date: Wed, 17 Mar 2021 14:30:17 +0000 From: Will Deacon To: Marc Zyngier Cc: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, dave.martin@arm.com, daniel.kiss@arm.com, Catalin Marinas , James Morse , Julien Thierry , Suzuki K Poulose , broonie@kernel.org, kernel-team@android.com Subject: Re: [PATCH 01/10] KVM: arm64: Provide KVM's own save/restore SVE primitives Message-ID: <20210317143016.GB5393@willie-the-truck> References: <20210316101312.102925-1-maz@kernel.org> <20210316101312.102925-2-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210316101312.102925-2-maz@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, Mar 16, 2021 at 10:13:03AM +0000, Marc Zyngier wrote: > as we are about to change the way KVM deals with SVE, provide > KVM with its own save/restore SVE primitives. > > No functional change intended. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/include/asm/fpsimdmacros.h | 2 ++ > arch/arm64/include/asm/kvm_hyp.h | 2 ++ > arch/arm64/kvm/hyp/fpsimd.S | 10 ++++++++++ > arch/arm64/kvm/hyp/include/hyp/switch.h | 10 +++++----- > 4 files changed, 19 insertions(+), 5 deletions(-) With the typo spotted by Quentin fixed: Acked-by: Will Deacon Will 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 X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 551CDC43381 for ; Wed, 17 Mar 2021 14:30:31 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id AE3D164F26 for ; Wed, 17 Mar 2021 14:30:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE3D164F26 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 2262F4B654; Wed, 17 Mar 2021 10:30:30 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5hpTPnKBuvHa; Wed, 17 Mar 2021 10:30:27 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id C0C704B5CA; Wed, 17 Mar 2021 10:30:27 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 807894B65D for ; Wed, 17 Mar 2021 10:30:26 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UeHzEx997Rpa for ; Wed, 17 Mar 2021 10:30:25 -0400 (EDT) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 9F9524B5CA for ; Wed, 17 Mar 2021 10:30:25 -0400 (EDT) Received: by mail.kernel.org (Postfix) with ESMTPSA id 9C3B864E13; Wed, 17 Mar 2021 14:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615991422; bh=UlkZsQXs/INZ7pDMa7O0/XSCqYnvaCwSyP15Y4oHfBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hFx9pj3srcAi0u0CpljilC3snQR+d5s9R7a0k0W8ptjPW0eN4SEjapr+wS33FekVi XOzbYuLA/9gGsmJuv0LpFlDQHH89VheWLZb08wc3igTJit0iPaAdI+S7J9XJO0wOg8 C83NhCElONH+N6hDeMGDyUG6GiI1PGjSOgDNEtoA9Ym7DsI3m5dgTdr7bzTQZhj0Ba OhuIV6ZREfoRWGJqEDevzYSLcrG0GbW8R22p1UV+HMmWJdMzr/vo2xP1Q7HFgwMpQ8 EMX4rA5txr3B/Gg7lhydc6fuGBCia7u7m3tdS1llYXdnxDDl3FPvwh1LA8Ocm6Aehe 12Xc8fVU1bm6w== Date: Wed, 17 Mar 2021 14:30:17 +0000 From: Will Deacon To: Marc Zyngier Subject: Re: [PATCH 01/10] KVM: arm64: Provide KVM's own save/restore SVE primitives Message-ID: <20210317143016.GB5393@willie-the-truck> References: <20210316101312.102925-1-maz@kernel.org> <20210316101312.102925-2-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210316101312.102925-2-maz@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: kvm@vger.kernel.org, Catalin Marinas , kvmarm@lists.cs.columbia.edu, broonie@kernel.org, kernel-team@android.com, dave.martin@arm.com, linux-arm-kernel@lists.infradead.org, daniel.kiss@arm.com X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Tue, Mar 16, 2021 at 10:13:03AM +0000, Marc Zyngier wrote: > as we are about to change the way KVM deals with SVE, provide > KVM with its own save/restore SVE primitives. > > No functional change intended. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/include/asm/fpsimdmacros.h | 2 ++ > arch/arm64/include/asm/kvm_hyp.h | 2 ++ > arch/arm64/kvm/hyp/fpsimd.S | 10 ++++++++++ > arch/arm64/kvm/hyp/include/hyp/switch.h | 10 +++++----- > 4 files changed, 19 insertions(+), 5 deletions(-) With the typo spotted by Quentin fixed: Acked-by: Will Deacon Will _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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 X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0ED0FC433E0 for ; Wed, 17 Mar 2021 14:32:17 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 82E5964E13 for ; Wed, 17 Mar 2021 14:32:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82E5964E13 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=upbphyTt5KV7myG+gEwvmg48DLDxD+BUeKtUCHQI3/A=; b=QfnQ6qn2928cyTyofVFocODqB vv/06eZ9Le9G3UIuQmbtVm3n9sJu6QeXKCPDgMyFlx6MIz+WPxIUZotKhTwV69xTRfud1Ve2ySVoy 3o4sPG+x65p9pD+KOStxgezyrOxjUkqyPdWUstYbXLq360390FtmgbpMNggIGV/zwJg3ZYNHLR+EM usKK3ZXuskIBBS29aNfOscYxjiVbd+CMG+KMqI9ZZOFAvHua34Jjx6LvH8Z6h8sIcZXnHsBkYRWn0 PYXBdpvfbMThqbOwy0E1HnU0RvtFgrdFRyv5bz2KD1POK8NT8bROl5DCEVwghcm4KOFbu/Dvynseb CK/BtGbZw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lMXBs-003GRe-Et; Wed, 17 Mar 2021 14:30:28 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lMXBo-003GR8-HT for linux-arm-kernel@lists.infradead.org; Wed, 17 Mar 2021 14:30:26 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9C3B864E13; Wed, 17 Mar 2021 14:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615991422; bh=UlkZsQXs/INZ7pDMa7O0/XSCqYnvaCwSyP15Y4oHfBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hFx9pj3srcAi0u0CpljilC3snQR+d5s9R7a0k0W8ptjPW0eN4SEjapr+wS33FekVi XOzbYuLA/9gGsmJuv0LpFlDQHH89VheWLZb08wc3igTJit0iPaAdI+S7J9XJO0wOg8 C83NhCElONH+N6hDeMGDyUG6GiI1PGjSOgDNEtoA9Ym7DsI3m5dgTdr7bzTQZhj0Ba OhuIV6ZREfoRWGJqEDevzYSLcrG0GbW8R22p1UV+HMmWJdMzr/vo2xP1Q7HFgwMpQ8 EMX4rA5txr3B/Gg7lhydc6fuGBCia7u7m3tdS1llYXdnxDDl3FPvwh1LA8Ocm6Aehe 12Xc8fVU1bm6w== Date: Wed, 17 Mar 2021 14:30:17 +0000 From: Will Deacon To: Marc Zyngier Cc: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, dave.martin@arm.com, daniel.kiss@arm.com, Catalin Marinas , James Morse , Julien Thierry , Suzuki K Poulose , broonie@kernel.org, kernel-team@android.com Subject: Re: [PATCH 01/10] KVM: arm64: Provide KVM's own save/restore SVE primitives Message-ID: <20210317143016.GB5393@willie-the-truck> References: <20210316101312.102925-1-maz@kernel.org> <20210316101312.102925-2-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210316101312.102925-2-maz@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210317_143024_867188_4FF814EF X-CRM114-Status: UNSURE ( 8.23 ) X-CRM114-Notice: Please train this message. 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 Tue, Mar 16, 2021 at 10:13:03AM +0000, Marc Zyngier wrote: > as we are about to change the way KVM deals with SVE, provide > KVM with its own save/restore SVE primitives. > > No functional change intended. > > Signed-off-by: Marc Zyngier > --- > arch/arm64/include/asm/fpsimdmacros.h | 2 ++ > arch/arm64/include/asm/kvm_hyp.h | 2 ++ > arch/arm64/kvm/hyp/fpsimd.S | 10 ++++++++++ > arch/arm64/kvm/hyp/include/hyp/switch.h | 10 +++++----- > 4 files changed, 19 insertions(+), 5 deletions(-) With the typo spotted by Quentin fixed: Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel