pussuw commented on PR #15396: URL: https://github.com/apache/nuttx/pull/15396#issuecomment-2574698701
> @pussuw If that's the case, should an additional option be introduced to control the behavior of the current CPU index mapping? The existing configurations or their combinations do not seem suitable as switches to control it (CONFIG_RISCV_PERCPU_SCRATCH/CONFIG_ARCH_RV_HARTID_BASE), and the conditions for enabling it are also quite ambiguous to me. This makes it difficult to synchronize general optimizations from other architectures (such as inlining small functions) onto the RISC-V platform. That would make sense, since the problem here really is that we don't have a dedicated flag for enabling CPUID mapping. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org