[PATCH] riscv: resume needs to be a global
Leo Liang
ycliang at andestech.com
Tue Oct 29 12:55:13 CET 2024
On Thu, Aug 08, 2024 at 02:14:17AM +0000, Anton Blanchard wrote:
> 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 at tenstorrent.com>
> ---
> arch/riscv/include/asm/global_data.h | 1 +
> arch/riscv/lib/interrupts.c | 10 ++++------
> 2 files changed, 5 insertions(+), 6 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list