From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceKEw-0005iS-Bf for qemu-devel@nongnu.org; Thu, 16 Feb 2017 06:28:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceKEv-0007Gc-H8 for qemu-devel@nongnu.org; Thu, 16 Feb 2017 06:28:46 -0500 MIME-Version: 1.0 In-Reply-To: References: <1485879782-6075-1-git-send-email-vijay.kilari@gmail.com> <1485879782-6075-6-git-send-email-vijay.kilari@gmail.com> From: Vijay Kilari Date: Thu, 16 Feb 2017 16:58:40 +0530 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v7 RESEND 5/5] hw/intc/arm_gicv3_kvm: Reset GICv3 cpu interface registers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-arm , Christoffer Dall , Eric Auger , Pavel Fedin , Marc Zyngier , QEMU Developers , Vijaya Kumar K On Thu, Feb 16, 2017 at 3:39 PM, Peter Maydell wrote: > On 16 February 2017 at 09:54, Vijay Kilari wrote: >> On Tue, Feb 7, 2017 at 8:19 PM, Peter Maydell wrote: >>> If you want to do nothing in a read/write function there are >>> already arm_cp_read_zero and arm_cp_write_ignore functions for >>> this. But using the ARM_CP_NOP flag is better still. >> >> With ARM_CP_NOP qemu fails to boot. >> qemu-system-aarch64: KVM_SET_DEVICE_ATTR failed: Invalid argument >> Group 6 attr 0x000000000000c665 > > Not clear to me why using ARM_CP_NOP should result in a KVM > call failure -- can you dig further into why that is happening? if ARM_CP_NOP is set, .reset function is not called and there by KVM fails when SRE_EL1 is written with 0x0. > > thanks > -- PMM