From: Dave Martin Subject: Re: [PATCH v5 14/26] KVM: arm64/sve: Context switch the SVE registers Date: Wed, 27 Feb 2019 13:37:52 +0000 Message-ID: <20190227133751.GD3567@e103592.cambridge.arm.com> References: <1550519559-15915-1-git-send-email-Dave.Martin@arm.com> <1550519559-15915-15-git-send-email-Dave.Martin@arm.com> <83fa5587-24a0-5bbb-c113-cddc74571ea2@arm.com> <20190226121321.GQ3567@e103592.cambridge.arm.com> <82b7b947-7e92-15df-5c71-6d562141264e@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 2D7414A41B for ; Wed, 27 Feb 2019 08:37:59 -0500 (EST) 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 sipOibTt9eMt for ; Wed, 27 Feb 2019 08:37:58 -0500 (EST) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0A58B49E3E for ; Wed, 27 Feb 2019 08:37:58 -0500 (EST) Content-Disposition: inline In-Reply-To: <82b7b947-7e92-15df-5c71-6d562141264e@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Julien Grall Cc: Okamoto Takayuki , Christoffer Dall , Ard Biesheuvel , Marc Zyngier , Catalin Marinas , Will Deacon , Zhang Lei , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org List-Id: kvmarm@lists.cs.columbia.edu On Tue, Feb 26, 2019 at 04:56:36PM +0000, Julien Grall wrote: > Hi Dave, > > On 26/02/2019 12:13, Dave Martin wrote: > >On Wed, Feb 20, 2019 at 04:46:57PM +0000, Julien Thierry wrote: > >> > >> > >>On 18/02/2019 19:52, Dave Martin wrote: > >>>In order to give each vcpu its own view of the SVE registers, this > >>>patch adds context storage via a new sve_state pointer in struct > >>>vcpu_arch. An additional member sve_max_vl is also added for each > >>>vcpu, to determine the maximum vector length visible to the guest > >>>and thus the value to be configured in ZCR_EL2.LEN while the is > >> > >>"While the is active"? > > > >Hmmm, yes. Thanks for deciphering that. Done. > I think it would be more consistent if you use "vcpu" over "guest". After > all ZCR_EL2.LEN is per vCPU. Yes, that makes sense. Done. Cheers ---Dave