Re: [PATCH] RISC-V: Provide the frequency of mtime via hwprobe

From: Jessica Clarke
Date: Tue Jun 18 2024 - 13:11:24 EST


On 18 Jun 2024, at 12:46, Yunhui Cui <cuiyunhui@xxxxxxxxxxxxx> wrote:
>
> From: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
>
> A handful of user-visible behavior is based on the frequency of the
> machine-mode time.
>
> Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
> Signed-off-by: Yunhui Cui <cuiyunhui@xxxxxxxxxxxxx>

I would suggest referring to the user-mode CSR instead, i.e. “time”
rather than “mtime” throughout in names and descriptions, since that’s
the thing that user-mode software is actually reading from.

Jess