From: Ian Campbell Subject: Re: [PATCH v3 11/18] xen/arm: IRQ: Defer routing IRQ to Xen until setup_irq() call Date: Wed, 16 Apr 2014 16:39:04 +0100 Message-ID: <1397662744.24638.215.camel@kazak.uk.xensource.com> References: <1396968247-8768-1-git-send-email-julien.grall@linaro.org> <1396968247-8768-12-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WaRvZ-0001vQ-Ei for xen-devel@lists.xenproject.org; Wed, 16 Apr 2014 15:39:09 +0000 In-Reply-To: <1396968247-8768-12-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-04-08 at 15:44 +0100, Julien Grall wrote: > When an IRQ is handling by Xen, setup is done in 2 steps: > - Route the IRQ to the current CPU and set priorities > - Set up the handler > > For PPIs, these steps are called on every cpu. For SPIs, they are only called > on the boot CPU. > > Dividing the setup in two step complicates the code when a new driver is > added to Xen (for instance a SMMU driver). Xen can safely route the IRQ > when the driver sets up the interrupt handler. > > Signed-off-by: Julien Grall Acked-by: Ian Campbell