Re: [Xen-devel] [PATCH v6 1/8] xen/arm: pass node to device_tree_for_each_node

2019-08-19 Thread Stefano Stabellini
On Mon, 19 Aug 2019, Julien Grall wrote: > On 8/17/19 1:29 AM, Stefano Stabellini wrote: > > On Fri, 16 Aug 2019, Julien Grall wrote: > > > Hi, > > > > > > On 16/08/2019 00:36, Stefano Stabellini wrote: > > > > Add a new parameter to device_tree_for_each_node: node, the node to > > > > start the

Re: [Xen-devel] [PATCH v6 1/8] xen/arm: pass node to device_tree_for_each_node

2019-08-19 Thread Julien Grall
Hi, On 8/17/19 1:29 AM, Stefano Stabellini wrote: On Fri, 16 Aug 2019, Julien Grall wrote: Hi, On 16/08/2019 00:36, Stefano Stabellini wrote: Add a new parameter to device_tree_for_each_node: node, the node to start the search from. Passing 0 triggers the old behavior. Here you say 0

Re: [Xen-devel] [PATCH v6 1/8] xen/arm: pass node to device_tree_for_each_node

2019-08-16 Thread Stefano Stabellini
On Fri, 16 Aug 2019, Julien Grall wrote: > Hi, > > On 16/08/2019 00:36, Stefano Stabellini wrote: > > Add a new parameter to device_tree_for_each_node: node, the node to > > start the search from. Passing 0 triggers the old behavior. > > Here you say 0 triggers the old behavior but... > > > >

Re: [Xen-devel] [PATCH v6 1/8] xen/arm: pass node to device_tree_for_each_node

2019-08-16 Thread Julien Grall
Hi, On 16/08/2019 00:36, Stefano Stabellini wrote: Add a new parameter to device_tree_for_each_node: node, the node to start the search from. Passing 0 triggers the old behavior. Here you say 0 triggers the old behavior but... Set min_depth to depth of the current node + 1 to avoid