diff options
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 722a74161246..766087781ecd 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1640,15 +1640,30 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
1640 | that the amount of memory usable for all allocations | 1640 | that the amount of memory usable for all allocations |
1641 | is not too small. | 1641 | is not too small. |
1642 | 1642 | ||
1643 | movablemem_map=acpi | ||
1644 | [KNL,X86,IA-64,PPC] This parameter is similar to | ||
1645 | memmap except it specifies the memory map of | ||
1646 | ZONE_MOVABLE. | ||
1647 | This option inform the kernel to use Hot Pluggable bit | ||
1648 | in flags from SRAT from ACPI BIOS to determine which | ||
1649 | memory devices could be hotplugged. The corresponding | ||
1650 | memory ranges will be set as ZONE_MOVABLE. | ||
1651 | NOTE: Whatever node the kernel resides in will always | ||
1652 | be un-hotpluggable. | ||
1653 | |||
1643 | movablemem_map=nn[KMG]@ss[KMG] | 1654 | movablemem_map=nn[KMG]@ss[KMG] |
1644 | [KNL,X86,IA-64,PPC] This parameter is similar to | 1655 | [KNL,X86,IA-64,PPC] This parameter is similar to |
1645 | memmap except it specifies the memory map of | 1656 | memmap except it specifies the memory map of |
1646 | ZONE_MOVABLE. | 1657 | ZONE_MOVABLE. |
1647 | If more areas are all within one node, then from | 1658 | If user specifies memory ranges, the info in SRAT will |
1648 | lowest ss to the end of the node will be ZONE_MOVABLE. | 1659 | be ingored. And it works like the following: |
1649 | If an area covers two or more nodes, the area from | 1660 | - If more ranges are all within one node, then from |
1650 | ss to the end of the 1st node will be ZONE_MOVABLE, | 1661 | lowest ss to the end of the node will be ZONE_MOVABLE. |
1651 | and all the rest nodes will only have ZONE_MOVABLE. | 1662 | - If a range is within a node, then from ss to the end |
1663 | of the node will be ZONE_MOVABLE. | ||
1664 | - If a range covers two or more nodes, then from ss to | ||
1665 | the end of the 1st node will be ZONE_MOVABLE, and all | ||
1666 | the rest nodes will only have ZONE_MOVABLE. | ||
1652 | If memmap is specified at the same time, the | 1667 | If memmap is specified at the same time, the |
1653 | movablemem_map will be limited within the memmap | 1668 | movablemem_map will be limited within the memmap |
1654 | areas. If kernelcore or movablecore is also specified, | 1669 | areas. If kernelcore or movablecore is also specified, |
@@ -1656,6 +1671,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
1656 | satisfied. So the administrator should be careful that | 1671 | satisfied. So the administrator should be careful that |
1657 | the amount of movablemem_map areas are not too large. | 1672 | the amount of movablemem_map areas are not too large. |
1658 | Otherwise kernel won't have enough memory to start. | 1673 | Otherwise kernel won't have enough memory to start. |
1674 | NOTE: We don't stop users specifying the node the | ||
1675 | kernel resides in as hotpluggable so that this | ||
1676 | option can be used as a workaround of firmware | ||
1677 | bugs. | ||
1659 | 1678 | ||
1660 | MTD_Partition= [MTD] | 1679 | MTD_Partition= [MTD] |
1661 | Format: <name>,<region-number>,<size>,<offset> | 1680 | Format: <name>,<region-number>,<size>,<offset> |