xtensa: support highmem in aliasing cache flushing code
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 21 Jul 2014 00:24:40 +0000 (04:24 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:23 +0000 (11:59 +0400)
commit270eec76de2557c9df01d74bc4c948d0924fc007
tree6ae217d32d6bf41bf2b43fed7898d9e0fecbffc4
parent8504b503dfa86f698a38f9ee1fc2876ab012b776
xtensa: support highmem in aliasing cache flushing code

Use __flush_invalidate_dcache_page_alias with alias set to color of the
page physical address instead of __flush_invalidate_dcache_page: this
works for high memory pages and mapping/unmapping to the TLBTEMP area is
virtually free.

Allow building configurations with aliasing cache and highmem enabled.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/mm/cache.c