Re: [PATCH v4 1/3] time: add "NOW() good" indicator

"Orzel, Michal" <[email protected]>
Newsgroups gmane.comp.emulators.xen.devel
Message-ID <[email protected]>

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]>

> ---
> 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)? At the moment, this denotes the moment where
the time driver is set up in preinit_xen_time() after validating the frequency.

~Michal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.