From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH v5 6/6] xen/arm: physical irq follow virtual irq Date: Thu, 12 Jun 2014 10:11:12 +0100 Message-ID: <53997CC002000078000B63A6@mail.emea.novell.com> References: <1402504032-13267-6-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wv12U-00073B-2g for xen-devel@lists.xenproject.org; Thu, 12 Jun 2014 09:11:18 +0000 In-Reply-To: <1402504032-13267-6-git-send-email-stefano.stabellini@eu.citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@eu.citrix.com Cc: julien.grall@citrix.com, xen-devel@lists.xenproject.org, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org >>> Stefano Stabellini 06/11/14 6:27 PM >>> >Migrate physical irqs to the same physical cpu that is running the vcpu >expected to receive the irqs. That is done when enabling irqs, when the >guest writes to GICD_ITARGETSR and when Xen migrates a vcpu to a >different pcpu. > >Introduce a new arch specific function, arch_move_irqs, that is empty on >x86 and implements the vgic irq migration code on ARM. >arch_move_irqs is called by evtchn_move_pirqs. > >Signed-off-by: Stefano Stabellini >--- >xen/arch/arm/gic.c | 18 ++++++++++++++++-- >xen/arch/arm/vgic.c | 42 ++++++++++++++++++++++++++++++++++++------ >xen/common/event_channel.c | 2 ++ >xen/include/asm-arm/gic.h | 1 + >xen/include/asm-x86/irq.h | 2 ++ >5 files changed, 57 insertions(+), 8 deletions(-) Common and x86 part Acked-by: Jan Beulich