Re: [PATCH v2 0/2] of: phandle_cache, fix refcounts, remove stale entry

2018-12-18 Thread Michael Ellerman
Rob Herring writes: > On Mon, Dec 17, 2018 at 1:56 AM wrote: >> >> From: Frank Rowand >> >> Non-overlay dynamic devicetree node removal may leave the node in >> the phandle cache. Subsequent calls to of_find_node_by_phandle() >> will incorrectly find the stale entry. This bug exposed the

Re: [PATCH v2 0/2] of: phandle_cache, fix refcounts, remove stale entry

2018-12-18 Thread Rob Herring
On Mon, Dec 17, 2018 at 1:56 AM wrote: > > From: Frank Rowand > > Non-overlay dynamic devicetree node removal may leave the node in > the phandle cache. Subsequent calls to of_find_node_by_phandle() > will incorrectly find the stale entry. This bug exposed the foloowing > phandle cache

[PATCH v2 0/2] of: phandle_cache, fix refcounts, remove stale entry

2018-12-16 Thread frowand . list
From: Frank Rowand Non-overlay dynamic devicetree node removal may leave the node in the phandle cache. Subsequent calls to of_find_node_by_phandle() will incorrectly find the stale entry. This bug exposed the foloowing phandle cache refcount bug. The refcount of phandle_cache entries is not