Re: OS-A platform stoptime requirement


Greg Favor
 

On Tue, Dec 21, 2021 at 9:18 AM Vedvyas Shanbhogue <ved@...> wrote:
I agree architecturally there is just memory-mapped MTIME. We can
leave it at that. What I meant by clock was where a each hart has its
unique memory mapped MTIME and thereby is clocked by a reference clock
that is broadcast.

Just fwiw, most multi-hart RV implementations have a shared MTIME register.  (CLINT, for example, reflects this.)
 
So there is real value to stopping time for debug and expectation is
that there will be a "synchronization"/"catch back up" action on MRET
from debug mode?

I'll resend the original question to both chairs of the Debug TG so they can comment on why it can be desirable to stop the local time CSR while in Debug mode.

Greg

Join {tech-unixplatformspec@lists.riscv.org to automatically receive all group messages.