Skip to content

powerpc/pseries: Auto-online hotplugged memory

Nathan Fontenot linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 6 repliesSuperseded

Changes in v2 from the cover letter

- The memhp_auto_online variable is no longer explicitly set.
- The patch is split into two patches
1/2 - Update to us auto-onlining capabilities 2/2 - Remove the call to memblock_add

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/pseries: Auto-online hotplugged memoryarch/powerpc/configs/pseries_defconfig arch/powerpc/platforms/pseries/hotplug-memory.c+1 -141 reply
2/2powerpc/pseries: Remove call to memblock_add()arch/powerpc/platforms/pseries/hotplug-memory.c+10 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] powerpc/pseries: Auto-online hotplugged memory

Recent updates to the core mm code allow for auto-onlining of added memory, commit id 31bc3858ea3. This update to the pseries hotplug memory code takes advantage of this by setting the config option CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y so that we online added memory by default, this maintains the current functionality, and removes the code that explicitly onlines added memory.

Additionally the call to memblock_add() is removed, this is already done in memory_add().

Changes from v1:
- The memhp_auto_online variable is no longer explicitly set.
- The patch is split into two patches
1/2 - Update to us auto-onlining capabilities 2/2 - Remove the call to memblock_add

-Nathan

---
 configs/pseries_defconfig          |    1 
 platforms/pseries/hotplug-memory.c |   51 +++++++------------------------------
 2 files changed, 11 insertions(+), 41 deletions(-)