Skip to content

powerpc: pSeries Cooperative Memory Overcommitment support

Robert Jennings linux-scsi linuxppc-dev netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 1 replyIn review
  2. v316 patches 19 repliesSuperseded
  3. v218 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v119 patches17 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16powerpc: Remove extraneous error reporting for hcall failures in lparcfgarch/powerpc/kernel/lparcfg.c+0 -270 replies
2/16powerpc: Split processor entitlement retrieval and gatarch/powerpc/kernel/lparcfg.c+0 -00 replies
3/16powerpc: Add memory entitlement capabilities to /proc/ppc64/lparcfgarch/powerpc/kernel/lparcfg.c include/asm-powerpc/hvcall.h+3 -10 replies
4/16powerpc: Split retrieval of processor entitlement data into a helper routinearch/powerpc/kernel/lparcfg.c+46 -350 replies
5/16powerpc: Enable CMO feature during platform setuparch/powerpc/platforms/pseries/setup.c include/asm-powerpc/firmware.h+1 -00 replies
6/16powerpc: Utilities to set firmware page statearch/powerpc/platforms/pseries/plpar_wrappers.h include/asm-powerpc/hvcall.h+0 -00 replies
7/16powerpc: Add collaborative memory managerarch/powerpc/platforms/pseries/Kconfig arch/powerpc/platforms/pseries/Makefile arch/powerpc/platforms/pseries/cmm.c+43 -00 replies
8/16powerpc: Add CMO paging statisticsarch/powerpc/kernel/lparcfg.c include/asm-powerpc/lppaca.h+4 -10 replies
9/16powerpc: iommu enablement for CMOarch/powerpc/kernel/iommu.c arch/powerpc/platforms/cell/iommu.c arch/powerpc/platforms/iseries/iommu.c +4 more+64 -200 replies
10/16powerpc: vio bus support for CMOarch/powerpc/kernel/vio.c include/asm-powerpc/vio.h+2 -10 replies
11/16powerpc: Verify CMO memory entitlement updates with virtual I/Oarch/powerpc/kernel/lparcfg.c+1 -00 replies
12/16ibmveth: Automatically enable larger rx buffer pools for larger mtudrivers/net/ibmveth.c+13 -70 replies
13/16ibmveth: enable driver for CMOdrivers/net/ibmveth.c drivers/net/ibmveth.h+140 -340 replies
14/16ibmvscsi: driver enablement for CMOdrivers/scsi/ibmvscsi/ibmvscsi.c drivers/scsi/ibmvscsi/ibmvscsi.h+40 -71 reply
15/16ibmvfc: Add support for collaborative memory overcommitdrivers/scsi/ibmvscsi/ibmvfc.c+15 -00 replies
16/16powerpc: Update arch vector to indicate support for CMOarch/powerpc/kernel/prom_init.c+5 -00 replies

Reviews trailers per patch

2 of 16 patches have a Reviewed-by or Acked-by.

PatchPaul MackerrasOlof Johansson
1/16A-b
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16A-b
10/16
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH 00/16 v4] powerpc: pSeries Cooperative Memory Overcommitment support

This is version 4 of the full patchset pulling in all prior changes posted to the list. Two patches sent separately to apply on top of the prior set have been included in this set.

Cooperative Memory Overcommitment (CMO) is a pSeries platform feature that enables the allocation of more memory to a set logical partitions than is physically present. For example, a system with 16Gb of memory can be configured to simultaneously run 3 logical partitions each with 8Gb of memory allocated to them.

The system firmware can page out memory as needed to meet the needs of each partition. To minimize the effects of firmware paging memory, the Collaborative Memory Manager (CMM) driver acts as a balloon driver to work with firmware to provide memory ahead of any paging needs.

The OS is provided with an entitlement of IO memory for device drivers to map. This amount varies with the number of virtual IO adapters present and can change as devices are hot-plugged. The VIO bus code distributes this memory to devices. Logical partitions supporting CMO may only have virtual IO devices, physical devices are not supported. Above the entitled level, IO mappings can fail and the IOMMU needed be updated to handle this change.

Virtual IO adapters have been updated to handle DMA mapping failures and to size their entitlement needs.

Platform support for for CMM and hot-plug entitlement events are also included in the following patches.

The changes should have minimal impact to non-CMO enabled environments. This patch set has been written against 2.6.26 and has been tested at that level.

Regards,
Robert Jennings