GoogleGit

commit6db47cc7e2f1d8dd8fc84912202ed749d6781a76[log][tgz]
authorVinil Cheeramvelil <vinil.cheeramvelil@intel.com>Wed Jul 08 10:35:06 2015 +0800
committerRom Lemarchand <romlem@android.com>Tue Sep 01 19:16:53 2015 +0000
treeab649e4eb78dd892bea1169a643619f3ddd257e2
parentf3061b9d608ce2314f24088281131ebadafa3985[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>
4 files changed
tree: ab649e4eb78dd892bea1169a643619f3ddd257e2
  1. .gitignore
  2. .mailmap
  3. COPYING
  4. CREDITS
  5. Documentation/
  6. Kbuild
  7. Kconfig
  8. MAINTAINERS
  9. Makefile
  10. README
  11. REPORTING-BUGS
  12. android/
  13. arch/
  14. block/
  15. crypto/
  16. drivers/
  17. firmware/
  18. fs/
  19. include/
  20. init/
  21. ipc/
  22. kernel/
  23. lib/
  24. mm/
  25. net/
  26. samples/
  27. scripts/
  28. security/
  29. sound/
  30. tools/
  31. usr/
  32. virt/