Commit b830e181 authored by Larry Bassel's avatar Larry Bassel Committed by Linux Build Service Account
Browse files

msm: calculate where the movable zone should be on 8960



For DMM to work properly, the memory which we intend
to power off must be placed in the "movable zone"
so that all pages in this memory may be migrated out.

Calculate the start and size of the movable zone -- for
the initial 8960 configuration this coincides with
the maximum size of unstable memory, in future
configurations this might be smaller (so that there
is enough memory in the "normal" zone where unmovable
pages will be placed).

This must be done very early, as the result is
used in sanity_check_meminfo().

Change-Id: I71886cf857cb39a1bd483bd8bc46db61d22b3236
Signed-off-by: default avatarLarry Bassel <lbassel@codeaurora.org>
parent 3020467c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment