From: Haren Myneni Date: Wed, 19 Feb 2014 20:56:52 +0000 (-0800) Subject: powerpc/pseries: Device tree should only be updated once after suspend/migrate X-Git-Tag: v3.15-rc1~124^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39a33b59f43088aa33f29ace6b978333dd0bca4a;p=pandora-kernel.git powerpc/pseries: Device tree should only be updated once after suspend/migrate The current code makes rtas calls for update-nodes, activate-firmware and then update-nodes again. The FW provides the same data for both update-nodes calls. As a result a proc entry exists error is reported for the second update while adding device nodes. This patch makes a single rtas call for update-nodes after activating the FW. It also add rtas_busy delay for the activate-firmware rtas call. Signed-off-by: Haren Myneni Signed-off-by: Tyrel Datwyler Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed