Re: [PATCH] [RESEND] powerpc: xmon: use ktime_get_coarse_boottime64

From: Michael Ellerman
Date: Thu Jul 12 2018 - 02:28:26 EST


Arnd Bergmann <arnd@xxxxxxxx> writes:

> get_monotonic_boottime() is deprecated, and may not be safe to call in
> every context, as it has to read a hardware clocksource.
>
> This changes xmon to print the time using ktime_get_coarse_boottime64()
> instead, which avoids the old timespec type and the HW access.
>
> Acked-by: Balbir Singh <bsingharora@xxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> Originally sent Jun 18, but this hasn't appeared in linux-next yet.
>
> Resending to make sure this is still on the radar. Please apply
> to the powerpc git for 4.19

I had applied it but forgot to push.

Should be there today.

cheers