Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4356383imm; Mon, 18 Jun 2018 13:32:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbAsK/OT67wwRFGdUR+ZhB5M3z2UDnNVs0VZjmzIHGaGUvjIgd0rHwuu6O+dG15ZZd8/bQ X-Received: by 2002:a17:902:7688:: with SMTP id m8-v6mr15492413pll.54.1529353970527; Mon, 18 Jun 2018 13:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529353970; cv=none; d=google.com; s=arc-20160816; b=zecur0Q01fe1Y50SdeKctIbO7HQQbikcfajh9QVfB1dskHFybzN+c8cQYDT9rNeMoN nvDi/udNLWbQtksN4WjkqsDphvPAxoht1vqL0d+8QOLT4RYnD7iyCP16K52ngfN6kokc 7IUnzbInRUAnJFH59VvCzyJCSdZNjxOAajVmBie4vcCExTrljjKdvBDk90i5QOy0TN+F ZdcHX/g1Y/zXuvmc50IUdRqpZDmV7pKTWhO8L75jSXDloiM4BW1iKSR2QgjT5GljOQiB RpJWjlG/Y66EGk52e6rw8JcUEAhsCePg7KxmN/engLb6TEzfEfj/Y0P/PgcsTpptpaiq uKvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:arc-authentication-results; bh=2lXC4WJBfVFA+FhJbwWLHdluijXhyi1PZxJro0/JS4M=; b=eWMG9+1CrChgXcdq6d+kaRdXOPSyRpgSn8G6RRALucfi26vivs+eSa2DARZxq7u1zC N9zBe2oUkYauIRzEIkV562YHJnNonIRGKU+fazCHlSnKhbdz+xt/k84qYOUWMsxHec5V AjQptt1dyaMROgQ/Tfk85Cj0etDJXSpDl3m5DqQmOKBSG9/9VRTSpJgCMwjwaOspq1eT cVNARKTz3idSI8tkYBlI4vjtuhLy0Pc8fSAAKEfuijnUZBm3SSTWdIMtlKcr4xNy/W/L UHSYmgPqazioREFRPrkK4dhup9VUho0zeyWM7VKXMj0q4AcFoDD+BbqtrlG1IP0T8V/g 2IjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=HF6rufrF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13-v6si15966938pfe.214.2018.06.18.13.32.36; Mon, 18 Jun 2018 13:32:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=HF6rufrF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935743AbeFRUby (ORCPT + 99 others); Mon, 18 Jun 2018 16:31:54 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33565 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755346AbeFRUbw (ORCPT ); Mon, 18 Jun 2018 16:31:52 -0400 Received: by mail-qt0-f193.google.com with SMTP id l10-v6so16432723qtj.0 for ; Mon, 18 Jun 2018 13:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=2lXC4WJBfVFA+FhJbwWLHdluijXhyi1PZxJro0/JS4M=; b=HF6rufrF/KAoncSZD4jcRCh+/PURUsVd3HBBM4R5SUFc5ApoZ7OEKxZ3hM9RoFgwHa rKiqW/cte+L/6i1R97Ps15yIpzatbzrZSzY5UIiYel5sMgUJa9yx2lSWohUW4lKCPcwQ Ik8DSZyJ0rIuDVJw67PCFmGxezFkeojZH+2YKhQrH2FK6G0HYz7VRCArPdZUpDlzaQLR j/NOm8yfHLm/VS+XaqbJgMft9ht3BhfSAVzJqXaNuUOHFIN2gFYQWrCArCTqDa3crzaf kHrowi97MGQbV2CqAIidR/snzYZvoCEVy45RWk9bbn8mD0YTL7cSeJD1Io/TK9H/OEo6 nYMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=2lXC4WJBfVFA+FhJbwWLHdluijXhyi1PZxJro0/JS4M=; b=ekg0SIV4LlVqDeSyZIdKc2nWld1LJPWMRbDpFgMIZ8ervhhelwUkVArzPi08zAGBif TFGnUB3M7o/eGInk98uSZDeH/aaoTe64x4vH6H28qijmxavcUe8+GfNH4y8siPIk+HSm Bv0ICo9k5r3EwTV456nq1ITfYG+S/uuSQo124r797oebdWAxlO2lOKh9uRJg+1o0LmSU e5W4mDjDw8A7CAOckv0ywTAWP7NMrDcjkimDkboEnycmw6QggmM6nfz+IFejLDtuHxBi iPlh0/W0wTSPZrTCL78dTQobpOW1oJdTzvlHq7Dh7i5O3cQtXXDlFdnZtvfB6SPj2GeS S4vw== X-Gm-Message-State: APt69E0D8zN7xZ0ZbWlHRqzMs9NwTqdjKfPlVilwD4p9qRJwBKZClSDZ dHqQH5z6wAA+LLTT7aYeP2VYbA== X-Received: by 2002:aed:230e:: with SMTP id h14-v6mr12455947qtc.69.1529353911833; Mon, 18 Jun 2018 13:31:51 -0700 (PDT) Received: from cakuba.netronome.com ([75.53.12.129]) by smtp.gmail.com with ESMTPSA id r25-v6sm12179295qtc.39.2018.06.18.13.31.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 13:31:51 -0700 (PDT) Date: Mon, 18 Jun 2018 13:31:47 -0700 From: Jakub Kicinski To: Arnd Bergmann Cc: "David S. Miller" , y2038@lists.linaro.org, Simon Horman , John Hurley , Pieter Jansen van Vuuren , Jiri Pirko , oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] nfp: avoid using getnstimeofday64() Message-ID: <20180618133147.30a9896f@cakuba.netronome.com> In-Reply-To: <20180618152051.1510142-1-arnd@arndb.de> References: <20180618152051.1510142-1-arnd@arndb.de> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Jun 2018 17:20:17 +0200, Arnd Bergmann wrote: > getnstimeofday64 is deprecated in favor of the ktime_get() family of > functions. The direct replacement would be ktime_get_real_ts64(), > but I'm picking the basic ktime_get() instead: > > - using a ktime_t simplifies the code compared to timespec64 > - using monotonic time instead of real time avoids issues caused > by a concurrent settimeofday() or during a leap second adjustment. > > Signed-off-by: Arnd Bergmann Acked-by: Jakub Kicinski Thank you!