From: Ian Campbell Subject: Re: Correct DTB compatibility for xen /hypervisor node? Date: Wed, 30 Jan 2013 12:32:26 +0000 Message-ID: <1359549146.12252.224.camel@zakaz.uk.xensource.com> References: <1359391811.12252.25.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1359391811.12252.25.camel@zakaz.uk.xensource.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: Stefano Stabellini Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2013-01-28 at 16:50 +0000, Ian Campbell wrote: > Looks like we have both 4.2 and 4.3 in use. Which should it be? > > $ rgrep xen-4 arch/arm Documentation/ > arch/arm/boot/dts/xenvm-4.2.dts: compatible = "xen,xen-4.2", "xen,xen"; > Documentation/devicetree/bindings/arm/xen.txt: compatible = "xen,xen-4.3", "xen,xen"; > > FWIW I've always used 4.2 in my own DTB files. > > Strictly speaking the API is the Xen 3.x API, but that doesn't seem > terribly relevant. > > I suppose arch_get_xen_caps ought to return something consistent? On a related note should /hypervisor contain #interrupt-cells = <3> ? We use "interrupts = <1 15 0xf08>" so it is somewhat implicit, butsince the parent doesn't have anything explicit this it will default to $somethingelse (0)? Should Documentation/devicetree/bindings/arm/xen.txt also reference gic.txt for the meaning of the fields, or are we free to define our own meaning? We need to get a canonical copy of this binding doc into the hypervisor tree too. Ian.