From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH v7 09/24] KVM: arm64: vgic-its: Introduce migration ABI infrastructure Date: Mon, 8 May 2017 14:23:34 +0200 Message-ID: <20170508122334.GD28342@cbox> References: <1494084283-12723-1-git-send-email-eric.auger@redhat.com> <1494084283-12723-10-git-send-email-eric.auger@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: eric.auger.pro@gmail.com, marc.zyngier@arm.com, christoffer.dall@linaro.org, andre.przywara@arm.com, vijayak@caviumnetworks.com, Vijaya.Kumar@cavium.com, peter.maydell@linaro.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Prasun.Kapoor@cavium.com, drjones@redhat.com, pbonzini@redhat.com, dgilbert@redhat.com, quintela@redhat.com, bjsprakash.linux@gmail.com To: Eric Auger Return-path: Received: from mail-wm0-f54.google.com ([74.125.82.54]:33302 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750892AbdEHMXk (ORCPT ); Mon, 8 May 2017 08:23:40 -0400 Received: by mail-wm0-f54.google.com with SMTP id n198so16683609wmg.0 for ; Mon, 08 May 2017 05:23:39 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1494084283-12723-10-git-send-email-eric.auger@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, May 06, 2017 at 05:24:28PM +0200, Eric Auger wrote: > We plan to support different migration ABIs, ie. characterizing > the ITS table layout format in guest RAM. For example, a new ABI > will be needed if vLPIs get supported for nested use case. > > So let's introduce an array of supported ABIs (at the moment a single > ABI is supported though). The following characteristics are foreseen > to vary with the ABI: size of table entries, save/restore operation, > the way abi settings are applied. > > By default the MAX_ABI_REV is applied on its creation. In subsequent > patches we will introduce a way for the userspace to change the ABI > in use. > > The entry sizes now are set according to the ABI version and not > hardcoded anymore. > > Signed-off-by: Eric Auger > Reviewed-by: Christoffer Dall From mboxrd@z Thu Jan 1 00:00:00 1970 From: cdall@linaro.org (Christoffer Dall) Date: Mon, 8 May 2017 14:23:34 +0200 Subject: [PATCH v7 09/24] KVM: arm64: vgic-its: Introduce migration ABI infrastructure In-Reply-To: <1494084283-12723-10-git-send-email-eric.auger@redhat.com> References: <1494084283-12723-1-git-send-email-eric.auger@redhat.com> <1494084283-12723-10-git-send-email-eric.auger@redhat.com> Message-ID: <20170508122334.GD28342@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, May 06, 2017 at 05:24:28PM +0200, Eric Auger wrote: > We plan to support different migration ABIs, ie. characterizing > the ITS table layout format in guest RAM. For example, a new ABI > will be needed if vLPIs get supported for nested use case. > > So let's introduce an array of supported ABIs (at the moment a single > ABI is supported though). The following characteristics are foreseen > to vary with the ABI: size of table entries, save/restore operation, > the way abi settings are applied. > > By default the MAX_ABI_REV is applied on its creation. In subsequent > patches we will introduce a way for the userspace to change the ABI > in use. > > The entry sizes now are set according to the ABI version and not > hardcoded anymore. > > Signed-off-by: Eric Auger > Reviewed-by: Christoffer Dall