From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [RFC PATCH 1/4] KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq Date: Sat, 02 Sep 2017 12:13:30 +0100 Message-ID: <863785uzdx.fsf@arm.com> References: <20170829093902.15379-1-cdall@linaro.org> <20170829093902.15379-2-cdall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain Cc: kvmarm@lists.cs.columbia.edu, Eric Auger , Andre Przywara , linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org To: Christoffer Dall Return-path: Received: from foss.arm.com ([217.140.101.70]:45692 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbdIBLNh (ORCPT ); Sat, 2 Sep 2017 07:13:37 -0400 In-Reply-To: <20170829093902.15379-2-cdall@linaro.org> (Christoffer Dall's message of "Tue, 29 Aug 2017 11:38:59 +0200") Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Aug 29 2017 at 11:38:59 am BST, Christoffer Dall wrote: > From: Eric Auger > > We want to reuse the core of the map/unmap functions for IRQ forwarding. > Let's move the computation of the hwirq in kvm_vgic_map_phys_irq and > pass the linux IRQ as parameter. > > The host_irq is added to struct vgic_irq because it is needed in later > patches which manipulate the physical GIC state to support forwarded > IRQs. > > We introduce kvm_vgic_map/unmap_irq which take a struct vgic_irq handle > as a parameter. > > Signed-off-by: Eric Auger > Signed-off-by: Christoffer Dall Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny.