Skip to content

Kernel handling of Dynamic Logical Partitioning

Nathan Fontenot linuxppc-dev lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/23 patches 7 repliesIn review
  2. v5 Latest6 patches 18 repliesIn review
  3. v45 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/25 patches8 repliesSuperseded
v15 patches13 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Kernel DLPAR Infrastructurearch/powerpc/include/asm/pSeries_reconfig.h arch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/dlpar.c +1 more+414 -06 replies
2/6Move of_drconf_cell to prom.harch/powerpc/include/asm/prom.h arch/powerpc/mm/numa.c+0 -00 replies
3/6Memory probe/release filesarch/powerpc/Kconfig arch/powerpc/include/asm/machdep.h arch/powerpc/mm/mem.c +1 more+0 -02 replies
4/6Memory DLPAR Handlingarch/powerpc/platforms/pseries/dlpar.c+0 -01 reply
5/6CPU probe/release filesarch/powerpc/Kconfig arch/powerpc/include/asm/machdep.h arch/powerpc/kernel/smp.c +3 more+0 -07 replies
6/6CPU DLPAR Handlingarch/powerpc/platforms/pseries/dlpar.c+0 -02 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH 0/6 v5] Kernel handling of Dynamic Logical Partitioning

This is a re-send of the entire patch set with updates made from recent comments received.

The Dynamic Logical Partitioning (DLPAR) capabilities of the powerpc pseries platform allows for the addition and removal of resources (i.e. cpus, memory, pci devices) from a partition. The removal of a resource involves removing the resource's node from the device tree and then returning the resource to firmware via the rtas set-indicator call. To add a resource, it is first obtained from firmware via the rtas set-indicator call and then a new device tree node is created using the ibm,configure-coinnector rtas call and added to the device tree.

The following set of patches implements the needed infrastructure to have the kernel handle the DLPAR addition and removal of memory and cpus (other DLPAR'able items to follow in future patches). The framework for this is to create a set of probe/release sysfs files that will facilitate arch-specific call-outs to handle addition and removal of cpus and memory to the system.

Patches include in this set:
1/6 - DLPAR infracstructure for powerpc/pseries platform.
2/6 - Move the of_drconf_cell struct to prom.h
3/6 - Create memory probe/release files and the powerpc handlers for them
4/6 - Memory DLPAR handling
5/6 - Create sysfs cpu probe/release files and the powerpc handlers for them 6/6 - CPU DLPAR handling

-Nathan Fontenot