From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41Qft404YCzF35M for ; Wed, 11 Jul 2018 23:24:11 +1000 (AEST) In-Reply-To: <20180618095653.1538471-1-arnd@arndb.de> To: Arnd Bergmann , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: Arnd Bergmann , y2038@lists.linaro.org, Vaibhav Jain , Nicholas Piggin , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc: xmon: use ktime_get_coarse_boottime64 Message-Id: <41Qft238h0zB4MX@ozlabs.org> Date: Wed, 11 Jul 2018 23:24:10 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 timespec type and the HW access. > > Signed-off-by: Arnd Bergmann > Acked-by: Balbir Singh Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/f6bd74fa084eb9ad573ffbb236a095 cheers