Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5415098imm; Tue, 26 Jun 2018 10:49:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfIPgKQlTyE8d9sY78YbcoHjFEpvp57aUXcbHL4efmpkRUm2/iDUIzMuHHfdFjhmVx1VJDE X-Received: by 2002:a62:3101:: with SMTP id x1-v6mr2473619pfx.246.1530035399621; Tue, 26 Jun 2018 10:49:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530035399; cv=none; d=google.com; s=arc-20160816; b=k+BqGY37yBtBfqJ7FSWGEzx37XXpvPDRuayWFV7hgorSZ2vbGqzxNmweeiwBIMnB3O sfiWGm7UJYEVgxvXaEMCTJJk5T1UwflxwhwdbJgeN5deoxVeU6E4zJPBFQ2vEHbyF1op JvnIWowbXM3TWU8+ErkQA+bQGmt/0cUMwIjnwJOqvzjg3OBzSSKBa63KFQuX0mzxLp8z tr+3E3TEYY8zvTEkh5hg5zdBOlFnqR5lkcNgckC4cYCPdUXI7DzHerj5q3Q16ts66b1u fD49CxNm8bSEpmBWlIt6PXkbzXtFIOrk5O3pr+ubZF8Zd7CXv7z458Y1UJr2QPuGuQbT G5Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature:arc-authentication-results; bh=+KHln7qe579CBg7WdxraHBOfp1c3PTKp2h3cr8IHaic=; b=aI2i7Q/44cqeFV9qs0QO49DzxxDQFrNRWjGfCr1fe+sQfx/v8H1FgXPBvYQ0mvEsGF c81iJPLqMvHyX/UGzfSlboEsnsxBL5QauImFBm6y9Ch+Y8jkcXWhQVtDQHrXWJxecDQG 8Y5gyy/8IWx0X8X3/Yc3mqTiyM151kKml+zNtwoj15h9hmti4Cc+B35WjYmKPDafgnAW AsnXIvLdTkBKDqMcVUaIp7hBXg3mg9XgziPz4M6uelS+qluPYaB5i1Bb3hOLuOa8d46Q cws5/qF8G+4OJ/tUqWQpjIDIgL8bPqeog9T+rp2UKawiXgba0LMrEsboA1pG8TWpjlhO AtKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=rxpvGSyb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si2035230pll.89.2018.06.26.10.49.30; Tue, 26 Jun 2018 10:49:59 -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=@oracle.com header.s=corp-2017-10-26 header.b=rxpvGSyb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752600AbeFZQBN (ORCPT + 99 others); Tue, 26 Jun 2018 12:01:13 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:43510 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752358AbeFZQBK (ORCPT ); Tue, 26 Jun 2018 12:01:10 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w5QFsNEA174294; Tue, 26 Jun 2018 15:59:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2017-10-26; bh=+KHln7qe579CBg7WdxraHBOfp1c3PTKp2h3cr8IHaic=; b=rxpvGSyb/CJl2jO1Sets2NvPLYw6OLp3wygYOCN1XEtkeD6qeK3kparX8BJlnbcONWDm WmnWGJhMEQK8zY9PB/La1x8aTMJEGNYK82RZJTBcjI7ctESwKxib0TImibILorypJKck E87kCG8DQiZlw+THwnc2xdNJEIb+GT+4qrJjFfez44pKy51jQEb4AiL51JA8Tv4o9pPG wxMrUyMumt3MA1pns2t87eD4ZoeqL2+rdFwV0oxXnim6Ms+yMjq2pxlaYzOmjjqtj/W/ MSI1WlQB/IvJzSFec1+fNu1z6daJI/vJ+lrGQYizLsYTrw870bBc+rRph5PV3pOt55X4 WQ== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2130.oracle.com with ESMTP id 2jukmtsb2q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Jun 2018 15:59:13 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w5QFxD64015057 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Jun 2018 15:59:13 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w5QFxC5w028450; Tue, 26 Jun 2018 15:59:12 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 26 Jun 2018 08:59:11 -0700 To: Arnd Bergmann Cc: "James E.J. Bottomley" , "Martin K. Petersen" , y2038@lists.linaro.org, Hannes Reinecke , Johannes Thumshirn , James Smart , Jens Axboe , Tyrel Datwyler , Steffen Maier , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi_transport_fc: use 64-bit timestamps consistently From: "Martin K. Petersen" Organization: Oracle Corporation References: <20180618153004.1808419-1-arnd@arndb.de> Date: Tue, 26 Jun 2018 11:59:08 -0400 In-Reply-To: <20180618153004.1808419-1-arnd@arndb.de> (Arnd Bergmann's message of "Mon, 18 Jun 2018 17:29:51 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8935 signatures=668703 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=628 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806260179 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd, > The get_seconds() helper returns an 'unsigned long' value, which can > overflow on 32-bit architectures. Since the interface we pass it into > already uses a 64-bit type, we can just use ktime_get_real_seconds() > instead. > > While we generally prefer local timestamps in CLOCK_MONOTONIC format > (ktime_get_seconds), this keeps using the CLOCK_REALTIME version in > order to maintain compatibility with existing code. Applied to 4.19/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering