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

kenrabold notifications at github.com
Tue Sep 10 23:12:31 CEST 2019

kenrabold commented on this pull request.

 void thread_yield_higher(void)
     /* Use SW intr to schedule context switch */
+    /* Latency of SW intr can be 4-7 cycles; delay 8 cycles */

Actually, yes WFI is on RISC-V and it will catch the SW interrupt. I tried it out and the implementation looks much cleaner.

Also, there were problems with debugging and WFI on the HiFive1 which are now fixed on HiFive1B with the Segger JTAG interface. So I'm I'd like to enable that in `pm_set_lowest `(it was previously commented out).

I'll adjust the PR

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/c0011586/attachment.htm>

More information about the notifications mailing list