Re: [tech-aia] RISC-V ACLINT specification is now hosted on RISC-V GitHub
Indeed, I missed adding text regarding verifying delta and ensuring that it is within bounds. Thanks for pointing.
I was thinking that aclint_mtime_sync() function should return the adjustment value (delta) so that high-level caller can try acling_mtime_sync() few times until the returned adjustment (delta) becomes zero (or close to it).
From: tech-aia@... <tech-aia@...>
On Behalf Of Josh Scheid
Thanks for writing this up, Anup.
In https://github.com/riscv/riscv-aclint/blob/master/riscv-aclint.adoc#24-synchronizing-multiple-mtimer-devices, the SW algorithm should include verifying the reference-target delta, retrying if the delta is out of bounds, and / or reporting failure to verify the synchronization is in bounds.
On Tue, May 25, 2021 at 10:18 PM Anup Patel <anup.patel@...> wrote: