]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: resume needs to be a global
authorAnton Blanchard <antonb@tenstorrent.com>
Thu, 8 Aug 2024 02:14:17 +0000 (02:14 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 29 Oct 2024 11:58:14 +0000 (19:58 +0800)
commit8e1acda14ea0ac08a77ea7d3d40ab7255ccbe4c5
treeee007052b3eda1aa665741fecb69f2de7a4234df
parent9d688e6da5c97fc7758bfa2367fe29cb75ae4868
riscv: resume needs to be a global

If we take an exception before u-boot is relocated, there's a good
chance we will end up in an endless loop of exceptions because resume is
invalid until after relocation.

Signed-off-by: Anton Blanchard <antonb@tenstorrent.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/global_data.h
arch/riscv/lib/interrupts.c