commit | 21ed4048de9ab917455280bc8a6897fead8da03a | [log] [tgz] |
---|---|---|
author | Vinil Cheeramvelil <vinil.cheeramvelil@intel.com> | Wed Jul 08 10:35:06 2015 +0800 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Aug 08 12:02:17 2016 +0530 |
tree | d9dc6ebbfe2766d30d5b9ba0d58efaf897a3950e | |
parent | 099f006be6e0e8f43bb6d22b26322988bef224b4 [diff] |
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: Zhebin Jin <zhebin.jin@intel.com> Signed-off-by: Vinil Cheeramvelil <vinil.cheeramvelil@intel.com>