[PATCH V2 0/5] powerpc/devtree: Add support for 'ibm, dynamic-memory-v2' property

Michael Bringmann mwb at linux.vnet.ibm.com
Tue Apr 18 00:57:51 AEST 2017


"ibm,dynamic-memory-v2": This property replaces the "ibm,dynamic-memory"
node representation within the "ibm,dynamic-reconfiguration-memory"
node provided by the BMC.  This element format is intended to provide
a more compact representation of memory, especially, for systems with
massive amounts of RAM.  To simplify portability, this property is
converted to the "ibm,dynamic-memory" property during system boot.

"ibm,architecture.vec": Bidirectional communication mechanism between
the host system and the front end processor indicating what features
the host system supports and what features the front end processor will
actually provide.  In this case, we are indicating that the host system
can support the new device tree structure "ibm,dynamic-memory-v2".

Signed-off-by: Michael Bringmann <mwb at linux.vnet.ibm.com>

Michael Bringmann (5):
  powerpc: Check arch.vec earlier during boot for memory features
  powerpc/memory: Parse new memory property to register blocks.
  powerpc/memory: Parse new memory property to initialize structures.
  pseries/hotplug init: Convert new DRC memory property for hotplug runtime
  powerpc: Enable support for new 'ibm,dynamic-memory-v2' devtree property
---
Changes in V2:
  -- Add missing of_node_put() calls.

 arch/powerpc/include/asm/firmware.h             |    4 
 arch/powerpc/include/asm/prom.h                 |   33 +++-
 arch/powerpc/kernel/prom.c                      |  131 +++++++++++---
 arch/powerpc/kernel/prom_init.c                 |    2 
 arch/powerpc/mm/numa.c                          |  213 ++++++++++++++++++-----
 arch/powerpc/platforms/pseries/Makefile         |    4 
 arch/powerpc/platforms/pseries/firmware.c       |    1 
 arch/powerpc/platforms/pseries/hotplug-memory.c |  104 +++++++++++
 8 files changed, 406 insertions(+), 86 deletions(-)

--



More information about the Linuxppc-dev mailing list