Re: [PATCH v4 1/3] time: add "NOW() good" indicator
Jan Beulich <[email protected]>
| Newsgroups | gmane.comp.emulators.xen.devel |
|---|---|
| Message-ID | <[email protected]> |
On 18.08.2026 17:10, Orzel, Michal wrote: > On 30-Jun-26 16:06, Jan Beulich wrote: >> printk_start_of_line() checks for a value of 0 right now. In order to be >> able to have NOW() return at least monotonically increasing values, that >> needs replacing by an explicit indicator. >> >> Signed-off-by: Jan Beulich <[email protected]> > Reviewed-by: Michal Orzel <[email protected]> Thanks. >> --- >> Arm and RISC-V may want to consider whether their initial get_cycles() >> can't be moved yet earlier, such that the indicator also can be set >> yet earlier. > On Arm, get_cycles() just reads a system register and it could be moved earlier. > That said, is there any rule as to what should actually be considered a start of > time (i.e. the boot_count value)? Whatever NOW() uses as the "bias", I think. That looks to be boot_count on Arm, yes. Jan