Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bf6f4886 authored by Larry Bassel's avatar Larry Bassel Committed by Stephen Boyd
Browse files

arm: Add support for CONFIG_ENABLE_DMM



Add a new config ENABLE_DMM that will turn on/off the DMM feature.
DMM stands for "dynamic memory management" (the ability to power
off some memory when the system is idle) and the reason this
is needed is that many customers do not want this functionality
and we want to provide a consistent and simple way of turning
this off, rather than the ad-hoc methods some have been using.

DMM currently is enabled by default on 8960.

The following configs are currently used only by DMM
and will be disabled if ENABLE_DMM is not true.

CONFIG_MEMORY_HOTPLUG
CONFIG_HOTREMOVE
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE
CONFIG_MIGRATION
CONFIG_ARCH_MEMORY_PROBE
CONFIG_ARCH_MEMORY_REMOVE

CRs-Fixed: 344176
Change-Id: I1f1fa8a8882136a38f0abd01b0f5cb59c9a25152
Signed-off-by: default avatarJack Cheung <jackc@codeaurora.org>
Signed-off-by: default avatarLarry Bassel <lbassel@codeaurora.org>
(cherry picked from commit b8d6102e021946973b20f4c2646e24c256eaab32)

Conflicts:

	arch/arm/Kconfig
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/board-8930.c
	arch/arm/mach-msm/board-8960.c
	arch/arm/mach-msm/memory_topology.c
parent dbf1484e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment