diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2012-04-12 02:45:22 -0400 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-04-24 10:36:59 -0400 |
commit | e8db288e05e588ad3f416b3a24354d60d02f35f2 (patch) | |
tree | 97a3ed1fa4e59d45ebc41d48b07d7c61fcff9ffc /arch/arm/Kconfig | |
parent | 0c91e7e07ebf08092bf8e28d8cd8d420732fc716 (diff) |
ARM: multi-cluster PM: secondary kernel entry code
CPUs in cluster based systems, such as big.LITTLE, have special needs
when entering the kernel due to a hotplug event, or when resuming from
a deep sleep mode.
This is vectorized so multiple CPUs can enter the kernel in parallel
without serialization.
The mcpm prefix stands for "multi cluster power management", however
this is usable on single cluster systems as well. Only the basic
structure is introduced here. This will be extended with later patches.
In order not to complexify things more than they currently have to,
the planned work to make runtime adjusted MPIDR based indexing and
dynamic memory allocation for cluster states is postponed to a later
cycle. The MAX_NR_CLUSTERS and MAX_CPUS_PER_CLUSTER static definitions
should be sufficient for those systems expected to be available in the
near future.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2c3bdce15134..2d17275b5df2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1599,6 +1599,14 @@ config HAVE_ARM_TWD | |||
1599 | help | 1599 | help |
1600 | This options enables support for the ARM timer and watchdog unit | 1600 | This options enables support for the ARM timer and watchdog unit |
1601 | 1601 | ||
1602 | config MCPM | ||
1603 | bool "Multi-Cluster Power Management" | ||
1604 | depends on CPU_V7 && SMP | ||
1605 | help | ||
1606 | This option provides the common power management infrastructure | ||
1607 | for (multi-)cluster based systems, such as big.LITTLE based | ||
1608 | systems. | ||
1609 | |||
1602 | choice | 1610 | choice |
1603 | prompt "Memory split" | 1611 | prompt "Memory split" |
1604 | default VMSPLIT_3G | 1612 | default VMSPLIT_3G |