BitBender334 commented on code in PR #14841: URL: https://github.com/apache/nuttx/pull/14841#discussion_r1848376346
########## arch/risc-v/src/mpfs/mpfs_irq.c: ########## @@ -63,6 +63,13 @@ void up_irqinitialize(void) riscv_stack_color(g_intstackalloc, intstack_size); #endif + /* Set priority for all global interrupts to 1 (lowest) */ + + for (int id = 1; id <= NR_IRQS; id++) + { + putreg32(1, (uintptr_t)(MPFS_PLIC_PRIORITY + (4 * id))); Review Comment: Only to re-add exactly what was removed in https://github.com/apache/nuttx/pull/14397. It is not necessary though, and I can remove. -- 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