[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Correct DTB compatibility for xen /hypervisor node?

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

We need to get a canonical copy of this binding doc into the hypervisor
tree too.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.