summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/prom.h
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2017-12-01 10:47:31 -0600
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-16 23:26:28 +1100
commit6195a5001f1d11e1ff6a7e47a865f4b42c1bb28c (patch)
tree3cc915fa6f22a368da7626f906bea0bb3d976c97 /arch/powerpc/include/asm/prom.h
parent514a9cb3316a08d63063a40a70f11b4318d3c06c (diff)
powerpc/pseries: Update memory hotplug code to use drmem LMB array
Update the pseries memory hotplug code to use the newly added dynamic reconfiguration LMB array. Doing this is required for the upcoming support of version 2 of the dynamic reconfiguration device tree property. In addition, making this change cleans up the code that parses the LMB information as we no longer need to worry about device tree format. This allows us to discard one of the first steps on memory hotplug where we make a working copy of the device tree property and convert the entire property to cpu format. Instead we just use the LMB array directly while holding the memory hotplug lock. This patch also moves the updating of the device tree property to powerpc/mm/drmem.c. This allows to the hotplug code to work without needing to know the device tree format and provides a single routine for updating the device tree property. This new routine will handle determination of the proper device tree format and generate a properly formatted device tree property. Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/prom.h')
0 files changed, 0 insertions, 0 deletions