Re: [PATCH] of: fix phandle cache creation for DTs with no phandles

2018-09-11 Thread Frank Rowand
On 09/11/18 07:56, Rob Herring wrote: > With commit 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of > of_find_node_by_phandle()"), a G3 PowerMac fails to boot. The root cause > is the DT for this system has no phandle properties when booted with > BootX. of_populate_phandle_cache() does no

[PATCH] of: fix phandle cache creation for DTs with no phandles

2018-09-11 Thread Rob Herring
With commit 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of of_find_node_by_phandle()"), a G3 PowerMac fails to boot. The root cause is the DT for this system has no phandle properties when booted with BootX. of_populate_phandle_cache() does not handle the case of no phandles correctly. Th