xtensa: allow fixmap and kmap span more than one page table
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 14 Jul 2014 22:49:15 +0000 (02:49 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:18 +0000 (11:59 +0400)
commitdec7305d9f752f6ad2ec30ec8a723182437c5aa5
tree64efbfc6a94cf439b3ff21afb0fe9f06e2b31182
parent22def7681186f65f4f1256ae9b0b6db2a7720cb1
xtensa: allow fixmap and kmap span more than one page table

To support aliasing cache both kmap region sizes are multiplied by the
number of data cache colors. After that expansion page tables that cover
kmap regions may become larger than one page. Correctly allocate and
initialize page tables in this case.

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