summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/prom.h
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2017-12-01 17:47:53 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-16 13:26:29 +0100
commit2b31e3aec1dbaae5f0a6f0e485fcb1ff1aceb6cf (patch)
tree21a93764fcecb9ac46a1fe5d7449ec54555b4692 /arch/powerpc/include/asm/prom.h
parentpowerpc: Move of_drconf_cell struct to asm/drmem.h (diff)
downloadlinux-2b31e3aec1dbaae5f0a6f0e485fcb1ff1aceb6cf.tar.xz
linux-2b31e3aec1dbaae5f0a6f0e485fcb1ff1aceb6cf.zip
powerpc/drmem: Add support for ibm, dynamic-memory-v2 property
The Power Hypervisor has introduced a new device tree format for the property describing the dynamic reconfiguration LMBs for a system, ibm,dynamic-memory-v2. This new format condenses the size of the property, especially on large memory systems, by reporting sets of LMBs that have the same properties (flags and associativity array index). This patch updates the powerpc/mm/drmem.c code to provide routines that can parse the new device tree format during the walk_drmem_lmb* routines used during boot, the creation of the LMB array, and updating the device tree to create a new property in the proper format for ibm,dynamic-memory-v2. 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