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

Re: [Xen-devel] [PATCH v4 1/2] xen: get GIC addresses from DT



On Fri, 2012-12-07 at 17:45 +0000, Stefano Stabellini wrote:
> Get the address of the GIC distributor, cpu, virtual and virtual cpu
> interfaces registers from device tree.
> 
> Note: I couldn't completely get rid of GIC_BASE_ADDRESS, GIC_DR_OFFSET
> and friends because we are using them from mode_switch.S, that is
> executed before device tree has been parsed. But at least mode_switch.S
> is known to contain vexpress specific code anyway.
> 
> Changes in v4:
> - return ranges from device_tree_nr_reg_ranges;
> - remove hard tab.
> 
> Changes in v3:
> - printk a message with the GIC interface addresses in gic_init;
> - use strcmp in device_tree_node_compatible;
> - rename device_tree_get_reg_ranges to device_tree_nr_reg_ranges;
> - improve error message in process_gic_node.
> 
> Changes in v2:
> - remove 2 superflous lines from process_gic_node;
> - introduce device_tree_get_reg_ranges;
> - add a check for uninitialized GIC interface addresses;
> - add a check for non-page aligned GIC interface addresses;
> - remove the code to deal with non-page aligned addresses from GICC and
> GICH.
> 
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

Acked + applied, thanks.



_______________________________________________
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®.