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

Re: [Xen-devel] [PATCH v2 09/15] xen/arm: segregate VGIC low level functionality



On Fri, 2014-04-04 at 15:13 +0100, Julien Grall wrote:
> > +DT_DEVICE_START(gicv2, "VGIC", DEVICE_VGIC)
> > +        .compatible = vgicv2_dt_compat,
> > +        .init = vgic_v2_init,
> > +DT_DEVICE_END
> > +
> 
> hrm ... VGIC is not a device, if you don't plan to support different
> VGIC per domain then you can directly return the vgic callbacks for the
> gic drivers.

Agreed, and if we were to support different VGIC per domain then it
would have to be driven by some sort of toolstack config option, domctl
etc, and not by the compat strings in the host DT.

So best to just register the vgic v2 ops when initialising gic v2 and
similar for v3 I think.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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