From: Ian Campbell Subject: Re: [PATCH V1 22/29] xen/arm: Create a fake timer node in dom0 device tree Date: Mon, 9 Sep 2013 12:51:05 +0100 Message-ID: <1378727465.19967.79.camel@kazak.uk.xensource.com> References: <1377701263-3319-1-git-send-email-julien.grall@linaro.org> <1377701263-3319-23-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-23-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: [...] > + static const struct dt_device_match timer_ids[] __initconst = > + { > + DT_MATCH_COMPATIBLE("arm,armv7-timer"), > + DT_MATCH_COMPATIBLE("arm,armv8-timer"), > + { /* sentinel */ }, > + }; [...] > @@ -588,6 +649,8 @@ static int handle_node(struct domain *d, struct kernel_info *kinfo, > DT_MATCH_COMPATIBLE("arm,psci"), > DT_MATCH_PATH("/cpus"), > DT_MATCH_COMPATIBLE("arm,cortex-a15-gic"), > + DT_MATCH_COMPATIBLE("arm,armv7-timer"), > + DT_MATCH_COMPATIBLE("arm,armv8-timer"), Both of these now need to be kept in sync with time.c. Can we find a better way? Ian