[riot-notifications] [RIOT-OS/RIOT] cpu/fe310: fixes for SW interrupt latency issues (#12196)

Kaspar Schleiser notifications at github.com
Tue Sep 10 22:33:42 CEST 2019


kaspar030 commented on this pull request.



>      UNREACHABLE();
 }
 
 void thread_yield_higher(void)
 {
     /* Use SW intr to schedule context switch */
     CLINT_REG(CLINT_MSIP) = 1;
+
+    /* Latency of SW intr can be 4-7 cycles; delay 8 cycles */

Is there a WFI equivalent on RISC-V?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12196#discussion_r322948767
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/c716a708/attachment.htm>


More information about the notifications mailing list