Skip to content

Commit 7b72724

Browse files
jcmvbkbcgregkh
authored andcommitted
xtensa: smp_lx200_defconfig: fix vectors clash
[ Upstream commit 306b383 ] 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 <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 19b7005 commit 7b72724

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: arch/xtensa/configs/smp_lx200_defconfig

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ CONFIG_SMP=y
3434
CONFIG_HOTPLUG_CPU=y
3535
# CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is not set
3636
# CONFIG_PCI is not set
37+
CONFIG_VECTORS_OFFSET=0x00002000
3738
CONFIG_XTENSA_PLATFORM_XTFPGA=y
3839
CONFIG_CMDLINE_BOOL=y
3940
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)