OSDN Git Service

xtensa: move fixmap and kmap just above the KSEG
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 4 Dec 2017 03:09:41 +0000 (19:09 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 17 Dec 2017 06:37:12 +0000 (22:37 -0800)
commit1af1e8a39dc0fab5e50f10462c636da8c1e0cfbb
tree5b0bd8c0077c94c759204fa971f80a9714149b20
parentd4e337fe822354895334dbaded61f08206dcac25
xtensa: move fixmap and kmap just above the KSEG

The virtual address space between the page table and the VMALLOC region
is big enough to host KASAN shadow map and there's enough space between
the VMALLOC area and KSEG for the fixmap and kmap.
Move fixmap and kmap to the gap between VMALLOC area and KSEG, just
above the KSEG. Reorder entries in the kernel memory layout printing
code. Drop duplicate PGTABLE_START definition, use
XCHAL_PAGE_TABLE_VADDR instead.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Documentation/xtensa/mmu.txt
arch/xtensa/include/asm/fixmap.h
arch/xtensa/include/asm/highmem.h
arch/xtensa/include/asm/page.h
arch/xtensa/mm/init.c