[PATCH V9 4/8] pseries/hotplug init: Convert new DRC memory property for hotplug runtime

Michael Ellerman mpe at ellerman.id.au
Tue Jan 31 13:53:46 AEDT 2017


Michael Bringmann <mwb at linux.vnet.ibm.com> writes:

> hotplug_init: Simplify the code needed for runtime memory hotplug and
> maintenance with a conversion routine that transforms the compressed
> property "ibm,dynamic-memory-v2" to the form of "ibm,dynamic-memory"
> within the "ibm,dynamic-reconfiguration-memory" property.  Thus only
> a single set of routines should be required at runtime to parse, edit,
> and manipulate the memory representation in the device tree.  Similarly,
> any userspace applications that need this information will only need
> to recognize the older format to be able to continue to operate.
>
> Signed-off-by: Michael Bringmann <mwb at linux.vnet.ibm.com>

This is breaking the ppc64_defconfig build:

  arch/powerpc/platforms/built-in.o: In function `.__machine_initcall_pseries_pseries_memory_hotplug_init':
  hotplug-memory.c:(.init.text+0x8cdc): undefined reference to `.pseries_memory_block_size'


cheers


More information about the Linuxppc-dev mailing list