]> git.baikalelectronics.ru Git - kernel.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)
commit5ed15eeef230a743b95c330e9656abe3f956260a
tree32c3aed4a66a243251ca0a9e195c4ba8e6dddeeb
parentd0c6834fbed8bdece470dd08f373ec7de723bfb5
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