From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v3 02/24] xen/arm: Divide GIC initialization in 2 parts Date: Fri, 20 Feb 2015 15:19:04 +0000 Message-ID: <1424445544.30924.294.camel@citrix.com> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-3-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.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YOpfC-00089R-JT for xen-devel@lists.xenproject.org; Fri, 20 Feb 2015 15:38:46 +0000 In-Reply-To: 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 Cc: xen-devel@lists.xenproject.org, Julien Grall , tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Wed, 2015-01-28 at 16:09 +0000, Stefano Stabellini wrote: > On Tue, 13 Jan 2015, Julien Grall wrote: > > Currently the function to translate IRQ from the device tree is set > > unconditionally to be able to be able to retrieve serial/timer IRQ before the > > GIC has been initialized. > > > > It assumes that the xlate function won't never changed. We may also need to > > have the primary interrupt controller very early. > > > > Rework the gic initialization in 2 parts: > > - gic_preinit: Get the interrupt controller device tree node and set > > up GIC and xlate callbacks > > - gic_init: Initialize the interrupt controller and the boot CPU > > interrupts. > > > > The former function will be called just after the IRQ subsystem as been > > initialized. > > > > Signed-off-by: Julien Grall > > Acked-by: Stefano Stabellini Acked-by: Ian Campbell