From: Ian Campbell Subject: Re: [PATCH V1 21/29] xen/arm: Create a fake GIC node in dom0 device tree Date: Mon, 9 Sep 2013 12:49:03 +0100 Message-ID: <1378727343.19967.78.camel@kazak.uk.xensource.com> References: <1377701263-3319-1-git-send-email-julien.grall@linaro.org> <1377701263-3319-22-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1377701263-3319-22-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: stefano.stabellini@eu.citrix.com, andre.przywara@linaro.org, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-08-28 at 15:47 +0100, Julien Grall wrote: > @@ -514,6 +587,7 @@ static int handle_node(struct domain *d, struct kernel_info *kinfo, > DT_MATCH_COMPATIBLE("xen,multiboot-module"), > DT_MATCH_COMPATIBLE("arm,psci"), > DT_MATCH_PATH("/cpus"), > + DT_MATCH_COMPATIBLE("arm,cortex-a15-gic"), This will need changing as we change the list in gic.c. Is there some way we can make this generic by using dt_interrupt_controller->compatible? Otherwise I think we either need a comment at both locations or way to share the lists. Ian. > { /* sentinel */ }, > }; > const struct dt_device_node *child;