Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-10 Thread Frank Rowand
On 10/10/17 14:06, Rob Herring wrote: > On Tue, Oct 10, 2017 at 2:39 PM, Frank Rowand wrote: < snip > > > AFAICT, I don't think anything between of_resolve_phandles and > of_overlay_apply calls in tilcdc depends on the phandles being fixed > up. I think you are correct, after another quick sca

Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-10 Thread Frank Rowand
On 10/10/17 14:06, Rob Herring wrote: > On Tue, Oct 10, 2017 at 2:39 PM, Frank Rowand wrote: >> On 10/10/17 11:40, Rob Herring wrote: >>> On Wed, Oct 04, 2017 at 08:29:59PM -0700, Frank Rowand wrote: On 10/04/17 08:19, Rob Herring wrote: > On Mon, Oct 2, 2017 at 10:53 PM, wrote: >>

Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-10 Thread Rob Herring
On Tue, Oct 10, 2017 at 2:39 PM, Frank Rowand wrote: > On 10/10/17 11:40, Rob Herring wrote: >> On Wed, Oct 04, 2017 at 08:29:59PM -0700, Frank Rowand wrote: >>> On 10/04/17 08:19, Rob Herring wrote: On Mon, Oct 2, 2017 at 10:53 PM, wrote: > From: Frank Rowand > > The process o

Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-10 Thread Frank Rowand
On 10/10/17 11:40, Rob Herring wrote: > On Wed, Oct 04, 2017 at 08:29:59PM -0700, Frank Rowand wrote: >> On 10/04/17 08:19, Rob Herring wrote: >>> On Mon, Oct 2, 2017 at 10:53 PM, wrote: From: Frank Rowand The process of applying an overlay consists of: - unflatten an overl

Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-10 Thread Rob Herring
On Wed, Oct 04, 2017 at 08:29:59PM -0700, Frank Rowand wrote: > On 10/04/17 08:19, Rob Herring wrote: > > On Mon, Oct 2, 2017 at 10:53 PM, wrote: > >> From: Frank Rowand > >> > >> The process of applying an overlay consists of: > >> - unflatten an overlay FDT (flattened device tree) into an >

Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-04 Thread Frank Rowand
On 10/04/17 08:19, Rob Herring wrote: > On Mon, Oct 2, 2017 at 10:53 PM, wrote: >> From: Frank Rowand >> >> The process of applying an overlay consists of: >> - unflatten an overlay FDT (flattened device tree) into an >> EDT (expanded device tree) >> - fixup the phandle values in the ove

Re: [PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-04 Thread Rob Herring
On Mon, Oct 2, 2017 at 10:53 PM, wrote: > From: Frank Rowand > > The process of applying an overlay consists of: > - unflatten an overlay FDT (flattened device tree) into an > EDT (expanded device tree) > - fixup the phandle values in the overlay EDT to fit in a > range above the pha

[PATCH 09/12] of: overlay: avoid race condition between applying multiple overlays

2017-10-02 Thread frowand . list
From: Frank Rowand The process of applying an overlay consists of: - unflatten an overlay FDT (flattened device tree) into an EDT (expanded device tree) - fixup the phandle values in the overlay EDT to fit in a range above the phandle values in the live device tree - create the over