Skip to content

Commit ce73d17

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 <jcmvbkbc@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 56b84e4 commit ce73d17

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/xtensa/configs/smp_lx200_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ CONFIG_SMP=y
3535
CONFIG_HOTPLUG_CPU=y
3636
# CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is not set
3737
# CONFIG_PCI is not set
38+
CONFIG_VECTORS_OFFSET=0x00002000
3839
CONFIG_XTENSA_PLATFORM_XTFPGA=y
3940
CONFIG_CMDLINE_BOOL=y
4041
CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug"

0 commit comments

Comments
 (0)