Skip to content

Commit 306b383

Browse files
committed
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>
1 parent 32a7726 commit 306b383

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/xtensa/configs/smp_lx200_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ CONFIG_SMP=y
3333
CONFIG_HOTPLUG_CPU=y
3434
# CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is not set
3535
# CONFIG_PCI is not set
36+
CONFIG_VECTORS_OFFSET=0x00002000
3637
CONFIG_XTENSA_PLATFORM_XTFPGA=y
3738
CONFIG_CMDLINE_BOOL=y
3839
CONFIG_CMDLINE="earlycon=uart8250,mmio32native,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug memmap=96M@0"

0 commit comments

Comments
 (0)