]> git.karo-electronics.de Git - linux-beck.git/commit
xtensa: add alternative kernel memory layouts
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 11 Apr 2016 18:14:17 +0000 (21:14 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 24 Jul 2016 03:33:58 +0000 (06:33 +0300)
commitd39af90265feb40ec198c4ca8268724645b4b50e
tree32c3aed4a66a243251ca0a9e195c4ba8e6dddeeb
parentf1883aa7d63e3be92ad18da7a1bfc6c9b15c4f9a
xtensa: add alternative kernel memory layouts

MMUv3 is able to support low memory bigger than 128MB.
Implement 256MB and 512MB KSEG layouts:

- add Kconfig selector for KSEG layout;
- add KSEG base address, size and alignment definitions to
  arch/xtensa/include/asm/kmem_layout.h;
- use new definitions in TLB initialization;
- add build time memory map consistency checks.

See Documentation/xtensa/mmu.txt for the details of new memory layouts.

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