diff options
author | 2020-12-07 15:52:00 -0600 | |
---|---|---|
committer | 2020-12-08 21:41:03 +1100 | |
commit | 2efd7f6eb9b7107e469837d8452e750d7d080a5d (patch) | |
tree | 32275d1c5378f91a8346651b22c1bdb490186b56 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | powerpc/rtas: remove unused rtas_suspend_me_data (diff) | |
download | linux-dev-2efd7f6eb9b7107e469837d8452e750d7d080a5d.tar.xz linux-dev-2efd7f6eb9b7107e469837d8452e750d7d080a5d.zip |
powerpc/pseries/mobility: refactor node lookup during DT update
In pseries_devicetree_update(), with each call to ibm,update-nodes the
partition firmware communicates the node to be deleted or updated by
placing its phandle in the work buffer. Each of delete_dt_node(),
update_dt_node(), and add_dt_node() have duplicate lookups using the
phandle value and corresponding refcount management.
Move the lookup and of_node_put() into pseries_devicetree_update(),
and emit a warning on any failed lookups.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-29-nathanl@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions