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

Skip to content
Commit 6db47cc7 authored by Vinil Cheeramvelil's avatar Vinil Cheeramvelil Committed by Rom Lemarchand
Browse files

ion: Handle the memory mapping correctly on x86



This patch modifies the ion page pool code to address
limitation in x86 PAT. When one physical page is mapped
to multiple virtual pages, the same cache policy
should be used. Add set_memory_wc/uc call to avoid aliases.
If not, all mappings will be cached(write back).

Change-Id: I98ee8902df0c80135dddfa998c4ca4c2bb44e40e
Signed-off-by: default avatarZhebin Jin <zhebin.jin@intel.com>
Signed-off-by: default avatarVinil Cheeramvelil <vinil.cheeramvelil@intel.com>
parent f3061b9d
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