diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-01-25 02:16:11 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-01-26 11:02:13 +0100 |
commit | 306b38305c0f86de7f17c5b091a95451dcc93d7d (patch) | |
tree | b346fb595a0c070b6b850f67585c5f5daa1a560c /arch | |
parent | xtensa: SMP: fix secondary CPU initialization (diff) | |
download | linux-306b38305c0f86de7f17c5b091a95451dcc93d7d.tar.xz linux-306b38305c0f86de7f17c5b091a95451dcc93d7d.zip |
xtensa: smp_lx200_defconfig: fix vectors clash
Secondary CPU reset vector overlaps part of the double exception handler
code, resulting in weird crashes and hangups when running user code.
Move exception vectors one page up so that they don't clash with the
secondary CPU reset vector.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/xtensa/configs/smp_lx200_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/configs/smp_lx200_defconfig b/arch/xtensa/configs/smp_lx200_defconfig index 11fed6c06a7c..b5938160fb3d 100644 --- a/arch/xtensa/configs/smp_lx200_defconfig +++ b/arch/xtensa/configs/smp_lx200_defconfig @@ -33,6 +33,7 @@ CONFIG_SMP=y CONFIG_HOTPLUG_CPU=y # CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is not set # CONFIG_PCI is not set +CONFIG_VECTORS_OFFSET=0x00002000 CONFIG_XTENSA_PLATFORM_XTFPGA=y CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=96M@0" |