From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747AbdKHQ1W (ORCPT ); Wed, 8 Nov 2017 11:27:22 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:48421 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752143AbdKHQ1U (ORCPT ); Wed, 8 Nov 2017 11:27:20 -0500 X-Google-Smtp-Source: AGs4zMaWK5hW/Jzrm98iNv6dAmtGRIyeIY1Zqc6HKA5Mx/to6cz46SyEc8aMZbbYi0WjAd8njlgqf264Pl+XvMq5Z/Q= MIME-Version: 1.0 In-Reply-To: <20171107141319.3390036-1-arnd@arndb.de> References: <20171107141319.3390036-1-arnd@arndb.de> From: Arnd Bergmann Date: Wed, 8 Nov 2017 17:27:19 +0100 X-Google-Sender-Auth: JPe9E2mt6F9VEEVVQb2J7JR57jo Message-ID: Subject: Re: [PATCH 1/2] fbdev: pxa3xx: use ktime_get_ts64 for time stamps To: Bartlomiej Zolnierkiewicz Cc: Arnd Bergmann , Himanshu Jha , "Gustavo A. R. Silva" , dri-devel , linux-fbdev@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 7, 2017 at 3:13 PM, Arnd Bergmann wrote: > do_gettimeofday() is deprecated because it is not y2038 safe, so I'm > changing the calculation for the diagnostic output over to using > 'timespec64'. > > We really only print time deltas here, so changing it to monotonic > time makes this more robust, the correct accessor for this is > ktime_get_ts64(). > > Signed-off-by: Arnd Bergmann Please ignore this patch, my randconfig builder found a typo that I had not noticed before. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Wed, 08 Nov 2017 16:27:19 +0000 Subject: Re: [PATCH 1/2] fbdev: pxa3xx: use ktime_get_ts64 for time stamps Message-Id: List-Id: References: <20171107141319.3390036-1-arnd@arndb.de> In-Reply-To: <20171107141319.3390036-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bartlomiej Zolnierkiewicz Cc: linux-fbdev@vger.kernel.org, Arnd Bergmann , "Gustavo A. R. Silva" , Linux Kernel Mailing List , dri-devel , Himanshu Jha On Tue, Nov 7, 2017 at 3:13 PM, Arnd Bergmann wrote: > do_gettimeofday() is deprecated because it is not y2038 safe, so I'm > changing the calculation for the diagnostic output over to using > 'timespec64'. > > We really only print time deltas here, so changing it to monotonic > time makes this more robust, the correct accessor for this is > ktime_get_ts64(). > > Signed-off-by: Arnd Bergmann Please ignore this patch, my randconfig builder found a typo that I had not noticed before. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 1/2] fbdev: pxa3xx: use ktime_get_ts64 for time stamps Date: Wed, 8 Nov 2017 17:27:19 +0100 Message-ID: References: <20171107141319.3390036-1-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from mail-ot0-x244.google.com (mail-ot0-x244.google.com [IPv6:2607:f8b0:4003:c0f::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id A2DB36E715 for ; Wed, 8 Nov 2017 16:27:20 +0000 (UTC) Received: by mail-ot0-x244.google.com with SMTP id q99so2777371ota.2 for ; Wed, 08 Nov 2017 08:27:20 -0800 (PST) In-Reply-To: <20171107141319.3390036-1-arnd@arndb.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Bartlomiej Zolnierkiewicz Cc: linux-fbdev@vger.kernel.org, Arnd Bergmann , "Gustavo A. R. Silva" , Linux Kernel Mailing List , dri-devel , Himanshu Jha List-Id: dri-devel@lists.freedesktop.org T24gVHVlLCBOb3YgNywgMjAxNyBhdCAzOjEzIFBNLCBBcm5kIEJlcmdtYW5uIDxhcm5kQGFybmRi LmRlPiB3cm90ZToKPiBkb19nZXR0aW1lb2ZkYXkoKSBpcyBkZXByZWNhdGVkIGJlY2F1c2UgaXQg aXMgbm90IHkyMDM4IHNhZmUsIHNvIEknbQo+IGNoYW5naW5nIHRoZSBjYWxjdWxhdGlvbiBmb3Ig dGhlIGRpYWdub3N0aWMgb3V0cHV0IG92ZXIgdG8gdXNpbmcKPiAndGltZXNwZWM2NCcuCj4KPiBX ZSByZWFsbHkgb25seSBwcmludCB0aW1lIGRlbHRhcyBoZXJlLCBzbyBjaGFuZ2luZyBpdCB0byBt b25vdG9uaWMKPiB0aW1lIG1ha2VzIHRoaXMgbW9yZSByb2J1c3QsIHRoZSBjb3JyZWN0IGFjY2Vz c29yIGZvciB0aGlzIGlzCj4ga3RpbWVfZ2V0X3RzNjQoKS4KPgo+IFNpZ25lZC1vZmYtYnk6IEFy bmQgQmVyZ21hbm4gPGFybmRAYXJuZGIuZGU+CgpQbGVhc2UgaWdub3JlIHRoaXMgcGF0Y2gsIG15 IHJhbmRjb25maWcgYnVpbGRlciBmb3VuZCBhIHR5cG8gdGhhdApJIGhhZCBub3Qgbm90aWNlZCBi ZWZvcmUuCgogICAgICAgICBBcm5kCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fCmRyaS1kZXZlbCBtYWlsaW5nIGxpc3QKZHJpLWRldmVsQGxpc3RzLmZyZWVk ZXNrdG9wLm9yZwpodHRwczovL2xpc3RzLmZyZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZv L2RyaS1kZXZlbAo=