Received: from eggs.gnu.org ([2001:4830:134:3::10]:34220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bT8XN-0008TY-VQ for qemu-devel@nongnu.org; Fri, 29 Jul 2016 10:13:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bT8XM-0001W2-Lw for qemu-devel@nongnu.org; Fri, 29 Jul 2016 10:13:17 -0400 References: <1467798364-9049-1-git-send-email-eric.auger@redhat.com> <1467798364-9049-6-git-send-email-eric.auger@redhat.com> From: Auger Eric Message-ID: Date: Fri, 29 Jul 2016 16:13:05 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v4 5/6] hw/intc/arm_gicv3_its: Implement support for in-kernel ITS emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: eric.auger.pro@gmail.com, qemu-arm , QEMU Developers , Pavel Fedin , Shlomo Pongratz , Diana Craciun Hi Peter, On 29/07/2016 15:35, Peter Maydell wrote: > On 6 July 2016 at 10:46, Eric Auger wrote: >> +/** >> + * >> + * We currently do not use kvm_arm_register_device to provide >> + * the kernel with the vITS control frame base address since the >> + * KVM_DEV_ARM_VGIC_CTRL_INIT init MUST be called after the >> + * KVM_ARM_SET_DEVICE_ADDR and the kvm_arm_register_device >> + * infra does not allow this. >> + */ > > So the conclusion on the kvm-arm mailing list was that the > kernel ought to permit DEVICE_ADDR to be set after INIT, > the same way it does for the GIC proper, right? Yes this was indeed evoked but eventually what is in next, right now is the same implementation where KVM_ARM_SET_DEVICE_ADDR is forbidden once init is done: see virt/kvm/arm/vgic/vgic-its.c its->initialized set by vgic_its_init_its (KVM_DEV_ARM_VGIC_GRP_CTRL) case KVM_DEV_ARM_VGIC_GRP_ADDR: ../.. if (its->initialized) return -EBUSY; Thanks Eric > > thanks > -- PMM >