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 41R5bp0Z74zF35b for ; Thu, 12 Jul 2018 16:28:22 +1000 (AEST) From: Michael Ellerman To: Arnd Bergmann , Benjamin Herrenschmidt , Paul Mackerras Cc: y2038@lists.linaro.org, Arnd Bergmann , Balbir Singh , Nicholas Piggin , Vaibhav Jain , Breno Leitao , Mathieu Malaterre , Yisheng Xie , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [RESEND] powerpc: xmon: use ktime_get_coarse_boottime64 In-Reply-To: <20180711125338.1365368-1-arnd@arndb.de> References: <20180711125338.1365368-1-arnd@arndb.de> Date: Thu, 12 Jul 2018 16:28:18 +1000 Message-ID: <877em17yt9.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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. > > Acked-by: Balbir Singh > Signed-off-by: Arnd Bergmann > --- > 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