powerpc: pSeries Cooperative Memory Overcommitment support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest16 patches 1 replyIn review
- v316 patches 19 repliesSuperseded
- v218 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 19 patches | 17 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | powerpc: Remove extraneous error reporting for hcall failures in lparcfgarch/ | +0 | 0 replies | |
| 2/16 | powerpc: Split processor entitlement retrieval and gatarch/ | +0 | 0 replies | |
| 3/16 | powerpc: Add memory entitlement capabilities to /proc/ppc64/lparcfgarch/ include/ | +3 | 0 replies | |
| 4/16 | powerpc: Split retrieval of processor entitlement data into a helper routinearch/ | +46 | 0 replies | |
| 5/16 | powerpc: Enable CMO feature during platform setuparch/ include/ | +1 | 0 replies | |
| 6/16 | powerpc: Utilities to set firmware page statearch/ include/ | +0 | 0 replies | |
| 7/16 | powerpc: Add collaborative memory managerarch/ arch/ arch/ | +43 | 0 replies | |
| 8/16 | powerpc: Add CMO paging statisticsarch/ include/ | +4 | 0 replies | |
| 9/16 | powerpc: iommu enablement for CMOarch/ arch/ arch/ +4 more | +64 | 0 replies | |
| 10/16 | powerpc: vio bus support for CMOarch/ include/ | +2 | 0 replies | |
| 11/16 | powerpc: Verify CMO memory entitlement updates with virtual I/Oarch/ | +1 | 0 replies | |
| 12/16 | ibmveth: Automatically enable larger rx buffer pools for larger mtudrivers/ | +13 | 0 replies | |
| 13/16 | ibmveth: enable driver for CMOdrivers/ drivers/ | +140 | 0 replies | |
| 14/16 | ibmvscsi: driver enablement for CMOdrivers/ drivers/ | +40 | 1 reply | |
| 15/16 | ibmvfc: Add support for collaborative memory overcommitdrivers/ | +15 | 0 replies | |
| 16/16 | powerpc: Update arch vector to indicate support for CMOarch/ | +5 | 0 replies |
Reviews trailers per patch
2 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Paul Mackerras | Olof Johansson |
|---|---|---|
| 1/16 | A-b | |
| 2/16 | ||
| 3/16 | ||
| 4/16 | ||
| 5/16 | ||
| 6/16 | ||
| 7/16 | ||
| 8/16 | ||
| 9/16 | A-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.
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