Re: [PATCH 1/2 v6] time: Make fast functions return 0 before timekeeping is initialized

From: John Stultz
Date: Wed Aug 16 2017 - 23:40:47 EST


On Wed, Aug 16, 2017 at 8:17 AM, Prarit Bhargava <prarit@xxxxxxxxxx> wrote:
> printk timestamps will be extended to include mono and boot time by using
> the fast timekeeping functions ktime_get_mono|boot_fast_ns() functions.
> The functions can return garbage before timekeeping is initialized
> resulting in garbage timestamps.
>
> The fast time functions must return 0 before timekeeping is initialized.
>

This looks reasonable. I can queue it, but you still have feedback to
address on 2/2, so I may wait until that is sorted.

thanks
-john