fdcavalcanti commented on code in PR #15815: URL: https://github.com/apache/nuttx/pull/15815#discussion_r1958202017
########## arch/risc-v/src/common/riscv_macros.S: ########## @@ -342,7 +342,27 @@ #if CONFIG_ARCH_INTERRUPTSTACK > 15 #if !defined(CONFIG_SMP) && !defined(CONFIG_ARCH_USE_S_MODE) .macro setintstack tmp0, tmp1 - la sp, g_intstacktop + + /* Load g_intstacktop (the start of the interrupt stack) */ Review Comment: If I do that the first patch gets unstable when an exception occurs inside IRQ (non-stop stack dump). Don't think we should do that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
