aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2018-10-31 14:28:06 +0000
committerRob Herring <[email protected]>2018-11-01 21:16:54 +0000
commitc961cb3be9064d1097ccc019390f8b5739daafc6 (patch)
tree7cc7e9fb98472b595e7e3ab7b0de3fbcfc428af5 /tools/perf/scripts/python/mem-phys-addr.py
parentdt-bindings: arm: Explain capacities-dmips-mhz calculations in example (diff)
downloadkernel-c961cb3be9064d1097ccc019390f8b5739daafc6.tar.gz
kernel-c961cb3be9064d1097ccc019390f8b5739daafc6.zip
of: Fix cpu node iterator to not ignore disabled cpu nodes
In most cases, nodes with 'status = "disabled";' are treated as if the node is not present though it is a common bug to forget to check that. However, cpu nodes are different in that "disabled" simply means offline and the OS can bring the CPU core online. Commit f1f207e43b8a ("of: Add cpu node iterator for_each_of_cpu_node()") followed the common behavior of ignoring disabled cpu nodes. This breaks some powerpc systems (at least NXP P50XX/e5500). Fix this by dropping the status check. Fixes: 651d44f9679c ("of: use for_each_of_cpu_node iterator") Fixes: f1f207e43b8a ("of: Add cpu node iterator for_each_of_cpu_node()") Reported-by: Christian Zigotzky <[email protected]> Tested-by: Michael Ellerman <[email protected]> Cc: Frank Rowand <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions