From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752171AbdJ3DXG (ORCPT ); Sun, 29 Oct 2017 23:23:06 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47956 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857AbdJ3DXE (ORCPT ); Sun, 29 Oct 2017 23:23:04 -0400 From: Marc Zyngier To: Eric Auger Cc: , , , , , , , , , , Subject: Re: [PATCH v6 9/9] KVM: arm/arm64: vgic-its: Implement KVM_DEV_ARM_ITS_CTRL_RESET In-Reply-To: <1509031391-4407-10-git-send-email-eric.auger@redhat.com> (Eric Auger's message of "Thu, 26 Oct 2017 17:23:11 +0200") Organization: ARM Ltd References: <1509031391-4407-1-git-send-email-eric.auger@redhat.com> <1509031391-4407-10-git-send-email-eric.auger@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Date: Mon, 30 Oct 2017 03:22:59 +0000 Message-ID: <861sll720c.fsf@arm.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 26 2017 at 6:23:11 pm BST, Eric Auger wrote: > On reset we clear the valid bits of GITS_CBASER and GITS_BASER. > We also clear command queue registers and free the cache (device, > collection, and lpi lists). > > As we need to take the same locks as save/restore functions, we > create a vgic_its_ctrl() wrapper that handles KVM_DEV_ARM_VGIC_GRP_CTRL > group functions. > > Signed-off-by: Eric Auger Reviewed-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny.