Re: [PATCH v1 1/2] iommu: pass cell_count = -1 to of_for_each_phandle with cells_name

2019-09-13 Thread Joerg Roedel
On Thu, Sep 12, 2019 at 09:43:53AM +0200, Uwe Kleine-König wrote: > On Tue, Sep 03, 2019 at 02:52:10PM +0200, Joerg Roedel wrote: > > Acked-by: Joerg Roedel > > Does this ack mean that Rob is expected to apply this together with > patch 2? "Expected" is a strong word. I'd more phrase it like I

Re: [PATCH v1 1/2] iommu: pass cell_count = -1 to of_for_each_phandle with cells_name

2019-09-12 Thread Uwe Kleine-König
On Tue, Sep 03, 2019 at 02:52:10PM +0200, Joerg Roedel wrote: > On Sat, Aug 24, 2019 at 03:28:45PM +0200, Uwe Kleine-König wrote: > > Currently of_for_each_phandle ignores the cell_count parameter when a > > cells_name is given. I intend to change that and let the iterator fall > > back to a

Re: [PATCH v1 1/2] iommu: pass cell_count = -1 to of_for_each_phandle with cells_name

2019-09-03 Thread Joerg Roedel
On Sat, Aug 24, 2019 at 03:28:45PM +0200, Uwe Kleine-König wrote: > Currently of_for_each_phandle ignores the cell_count parameter when a > cells_name is given. I intend to change that and let the iterator fall > back to a non-negative cell_count if the cells_name property is missing > in the

[PATCH v1 1/2] iommu: pass cell_count = -1 to of_for_each_phandle with cells_name

2019-08-24 Thread Uwe Kleine-König
Currently of_for_each_phandle ignores the cell_count parameter when a cells_name is given. I intend to change that and let the iterator fall back to a non-negative cell_count if the cells_name property is missing in the referenced node. To not change how existing of_for_each_phandle's users