[PATCH v7 2/4] powerpc/pseries: Revert 'Auto-online hotplugged memory'
mpe at ellerman.id.au
Thu Feb 16 15:34:23 AEDT 2017
Nathan Fontenot <nfont at linux.vnet.ibm.com> writes:
> Revert the patch patch to auto-online hotplugged memory, commit
> id ec999072442a. Using the auto-online acpability does online added
> memory but does not update the associated device struct to
> indicate that the memory is online. The result of this is that
> memoryXX/online file in sysfs still reports the memory as being offline.
Isn't that just a bug in the auto-online code?
If I'm reading it right it's calling online_memory_block(). If that
doesn't cause the memory_block to be online that would puzzle me.
Also commit ec999072442a went into v4.8, so is memory hotplug broken
since then? If so we need to backport this or whatever fix we come up.
More information about the Linuxppc-dev