[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 14/23] xen/arm: generate a simple device tree for domUs
On Mon, 15 Oct 2018, Julien Grall wrote: > Hi Stefano, > > On 05/10/2018 19:47, Stefano Stabellini wrote: > > +static int __init make_gic_domU_node(const struct domain *d, void *fdt) > > +{ > > + switch ( gic_hw_version() ) > > While I understand that today domains will use the same GIC version as the > host, it would be best if we don't rely on this in the generation of the DT. > > So I would use d->arch.vgic.version here. > > With that change: > > Acked-by: Julien Grall <julien.grall@xxxxxxx> Done, thanks! > > > + { > > + case GIC_V3: > > + return make_gicv3_domU_node(d, fdt); > > + case GIC_V2: > > + return make_gicv2_domU_node(d, fdt); > > + default: > > + panic("Unsupported GIC version"); > > + } > > +} > > Cheers, > > -- > Julien Grall > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |