Re: [Xen-devel] [PATCH] ARM: GICv3: copy Dom0 GICv3 reg property from host DT

2018-01-30 Thread Stefano Stabellini
On Tue, 30 Jan 2018, Andre Przywara wrote: > At the moment we re-generate the Dom0 GICv3 DT node, by creating the > "reg" property from scratch using our previously parsed and > translated(!) host addresses. However we then write the *absolute* > addresses into the new node, not considering

Re: [Xen-devel] [PATCH] ARM: GICv3: copy Dom0 GICv3 reg property from host DT

2018-01-30 Thread Julien Grall
Hi Andre, On 30/01/18 09:35, Andre Przywara wrote: @@ -1173,27 +1172,21 @@ static int gicv3_make_hwdom_dt_node(const struct domain *d, if ( res ) return res; -len = dt_cells_to_size(dt_n_addr_cells(gic) + dt_n_size_cells(gic)); +new_len =

Re: [Xen-devel] [PATCH] ARM: GICv3: copy Dom0 GICv3 reg property from host DT

2018-01-30 Thread Amit Tomer
Hi, Thanks for the patch. On Tue, Jan 30, 2018 at 3:05 PM, Andre Przywara wrote: > At the moment we re-generate the Dom0 GICv3 DT node, by creating the > "reg" property from scratch using our previously parsed and > translated(!) host addresses. However we then write the

[Xen-devel] [PATCH] ARM: GICv3: copy Dom0 GICv3 reg property from host DT

2018-01-30 Thread Andre Przywara
At the moment we re-generate the Dom0 GICv3 DT node, by creating the "reg" property from scratch using our previously parsed and translated(!) host addresses. However we then write the *absolute* addresses into the new node, not considering possible "range" mappings in any of the GIC's parent