From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 4/8] xen/arm: Warn when a device tree path will be re-used by Xen Date: Mon, 28 Sep 2015 18:46:18 +0100 Message-ID: <56097CEA.6030600@citrix.com> References: <1442944062-4324-1-git-send-email-julien.grall@citrix.com> <1442944062-4324-5-git-send-email-julien.grall@citrix.com> <1443197438.25250.186.camel@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 1ZgcWt-00025G-In for xen-devel@lists.xenproject.org; Mon, 28 Sep 2015 17:47:59 +0000 In-Reply-To: <1443197438.25250.186.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On 25/09/15 17:10, Ian Campbell wrote: > I wonder if it would be worth printing the compatible strings of the node > we are clobbering? There's a good chance they will be e.g. "arm,psci-0.3" > (with no backwards compat) or something and knowing that might be useful. > But maybe it's too much code to worry about. I forgot to answer to this bit. Printing the first compatible node will be very easy, the others will require a bit more work (maybe we could re-use a bit of dt_device_is_compatible?). I think a generic function to dump DT node in Xen would be very useful. I can give a look when I have time as a follow-up. Regards, -- Julien Grall