xtensa: get rid of __ARCH_USE_5LEVEL_HACK
authorMike Rapoport <rppt@linux.ibm.com>
Tue, 5 Nov 2019 14:33:20 +0000 (16:33 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 Nov 2019 19:33:39 +0000 (11:33 -0800)
commitf5ee2567921dec4f489c16d4fe22c3a7222d0ce6
tree54a6a21fad933163b9b486439d852c33b9438a1a
parentf0d1eab8c2e1f9240cf4ae4753d7947c65e60bd7
xtensa: get rid of __ARCH_USE_5LEVEL_HACK

xtensa has 2-level page tables and already uses pgtable-nopmd for page
table folding.

Add walks of p4d level where appropriate and drop usage of
__ARCH_USE_5LEVEL_HACK.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Message-Id: <1572964400-16542-3-git-send-email-rppt@kernel.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> [fix up
               arch/xtensa/include/asm/fixmap.h and
               arch/xtensa/mm/tlb.c]
arch/xtensa/include/asm/fixmap.h
arch/xtensa/include/asm/pgtable.h
arch/xtensa/mm/fault.c
arch/xtensa/mm/kasan_init.c
arch/xtensa/mm/mmu.c
arch/xtensa/mm/tlb.c