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

2018-07-11 Thread Michael Ellerman
Arnd Bergmann 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. >

Re: powerpc: xmon: use ktime_get_coarse_boottime64

2018-07-11 Thread Michael Ellerman
On Mon, 2018-06-18 at 09:56:24 UTC, Arnd Bergmann wrote: > 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 t

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

2018-07-11 Thread Arnd Bergmann
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 Signed-off

Re: [PATCH] powerpc: xmon: use ktime_get_coarse_boottime64

2018-06-18 Thread Balbir Singh
On Mon, Jun 18, 2018 at 7:56 PM, Arnd Bergmann wrote: > 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 time

[PATCH] powerpc: xmon: use ktime_get_coarse_boottime64

2018-06-18 Thread Arnd Bergmann
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. Signed-off-by: Arnd Bergmann ---