RTEMS | bsp/riscv/riscv (#5486)

Lucian Silistru (@lsilistr) gitlab at rtems.org
Wed Feb 11 11:18:07 UTC 2026



Lucian Silistru created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5486



## Summary
Running riscv/riscv clockdrv on a cpu where "time" frequency << cpu frequency.
It is possible that the code between https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/bsps/riscv/riscv/clock/clockdrv.c?ref_type=heads#L209 and https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/bsps/riscv/riscv/clock/clockdrv.c?ref_type=heads#L179 executes before "time" ticks up (SMP, single core active); the check on the latter line then fails because the values are equal.

bsp/riscv/riscv

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5486
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260211/86794730/attachment.htm>


More information about the bugs mailing list