summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorTyrel Datwyler <tyreld@linux.vnet.ibm.com>2013-08-14 22:23:48 -0700
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-27 14:45:13 +1000
commitc8f5a57c62fcf821c435fc657f430a64205f3e99 (patch)
treed1fd3a798d05e125c3b7c36a4ea3d9289fe9b1f3 /ipc
parentd0ef440350ff9d1c72e52c837302df090c4d2725 (diff)
downloadop-kernel-dev-c8f5a57c62fcf821c435fc657f430a64205f3e99.zip
op-kernel-dev-c8f5a57c62fcf821c435fc657f430a64205f3e99.tar.gz
powerpc/pseries: Fix parsing of initial node path in update_dt_node
On the first call to ibm,update-properties for a node the first property returned is the full node path. Currently this is not parsed correctly by the update_dt_node function. Commit 2e9b7b0 attempted to fix this, but was incorrect as it made a wrong assumption about the layout of the first property in the work area. Further, if ibm,update-properties must be called multiple times for the same node this special property should only be skipped after the initial call. The first property descriptor returned consists of the property name, property value length, and property value. The property name is an empty string, property length is encoded in 4 byte integer, and the property value is the node path. Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud