]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: reorganize vectors placement
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 1 Feb 2020 04:11:24 +0000 (20:11 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 5 Feb 2020 05:57:02 +0000 (21:57 -0800)
commit67b042b3123a811e1e8c5c3df8e0688311e259d2
treed4d46c0c679937e483f4a2de6e105a5f6afbcbec
parent98b8d4df48fd589e71b07c40cf22588fdbf1b2f3
xtensa: reorganize vectors placement

Allow vectors to be either merged into the kernel .text or put at a
fixed virtual address independently of XIP option. Drop option that
puts vectors at a fixed offset from the kernel text. Add choice to
Kconfig.
Vectors at fixed virtual address may be useful for XIP-aware MTD support
and for noMMU configurations with available IRAM. Configurations without
VECBASE register must put their vectors at specific locations regardless
of the selected option. All other configurations should happily use
merged vectors.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/configs/smp_lx200_defconfig
arch/xtensa/configs/virt_defconfig
arch/xtensa/include/asm/vectors.h
arch/xtensa/kernel/setup.c
arch/xtensa/kernel/vmlinux.lds.S