commit | 8504b503dfa86f698a38f9ee1fc2876ab012b776 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Thu Jul 17 05:04:49 2014 +0400 |
committer | Max Filippov <jcmvbkbc@gmail.com> | Thu Aug 14 11:59:22 2014 +0400 |
tree | 6cb668f177b82628fbb13de1d4207310294c4fdf | |
parent | 32544d9c10c42bac3be8b87d2fc95b0aef008795 [diff] |
xtensa: support aliasing cache in kmap Define ARCH_PKMAP_COLORING and provide corresponding macro definitions on cores with aliasing data cache. Instead of single last_pkmap_nr maintain an array last_pkmap_nr_arr of pkmap counters for each page color. Make sure that kmap maps physical page at virtual address with color matching its physical address. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>