summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2020-12-07 22:52:00 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-08 11:41:03 +0100
commit2efd7f6eb9b7107e469837d8452e750d7d080a5d (patch)
tree32275d1c5378f91a8346651b22c1bdb490186b56 /arch/powerpc/Kconfig
parentpowerpc/rtas: remove unused rtas_suspend_me_data (diff)
downloadlinux-2efd7f6eb9b7107e469837d8452e750d7d080a5d.tar.xz
linux-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 '')
0 files changed, 0 insertions, 0 deletions