]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc/pseries: Update the device tree correctly for drconf memory add/remove
authorNathan Fontenot <nfont@austin.ibm.com>
Thu, 3 Jul 2008 03:22:39 +0000 (13:22 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 3 Jul 2008 06:58:16 +0000 (16:58 +1000)
commit3c3f67eafad12d4ccabe491c6c8a50bf6e75b89a
treebe4081be92d8a7c165281242384cb79cb8c2d06d
parent92ecd1790b10e12015070e33a0f70493d51aca50
powerpc/pseries: Update the device tree correctly for drconf memory add/remove

This updates the device tree manipulation routines so that memory
add/remove of lmbs represented under the
ibm,dynamic-reconfiguration-memory node of the device tree invokes the
hotplug notifier chain.

This change is needed because of the change in the way memory is
represented under the ibm,dynamic-reconfiguration-memory node.  All lmbs
are described in the ibm,dynamic-memory property instead of having a
separate node for each lmb as in previous device tree layouts.  This
requires the update_node() routine to check for updates to the
ibm,dynamic-memory property and invoke the hotplug notifier chain.

This also updates the pseries hotplug notifier to be able to gather information
for lmbs represented under the ibm,dynamic-reconfiguration-memory node and
have the lmbs added/removed.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/hotplug-memory.c
arch/powerpc/platforms/pseries/reconfig.c
include/asm-powerpc/pSeries_reconfig.h