Received: by 10.192.165.148 with SMTP id m20csp564051imm; Fri, 20 Apr 2018 11:16:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx49R/B+VlR904BI145OU5BcRzsqqcHh2ZpImremJDHGDFfj1J3p6Qkk2uSgNcJYxz2eHv4P9 X-Received: by 10.99.183.77 with SMTP id w13mr9367147pgt.231.1524248172766; Fri, 20 Apr 2018 11:16:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524248172; cv=none; d=google.com; s=arc-20160816; b=bXMbSUjM1v3tyXEDXIvVmB/CV1rVktGUSMZjUmPC9RtaIhzNVlLxXvg7rEw/Jl33fZ eBU5/gkbs0AiIIPBmebcOzNdT/qnLvBmc+VpF0KeXeEC71i+Z4ngMnKwlGSa24jr2bPR cwgXKv1gX1VwPXKu3h1f9/mT7h6AECDiHDjVv/vmMrIzGLBhxIX63wlwJhBZAO5UFzRF vv1Lid3UXD6G0BXu5PEsj2QeXjMENDQMW4g88GDZvqVLCMaKm6uKiyenXMlnrtdEQKnE T9mWrY2RXxtV032IqWabjNWdOaOP0Gm2CQfCCRFirykmYm8QKFL8cOdKbWTV7dG3xN31 Jo1Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=oBnh76Uhz6gH7jVmPat6uli+IY89dY52kv6wnnF4DEk=; b=uC2zPDcL+iGD/kwYttBWZO81T/qlbBVcARFEjDX1dZKvzFkTQgtzpZpj09jXpbeXGJ FDCI2ZVzOQHWN12dP8f83zF0zXQTrP/usAstPMcx32hpiLI0/kDjAFGRYeVfgNfySyk1 CJ7zrAvHGMsqlKD+MW6Zxgi5LkzqEgoKriw1u1R1LLoLM2DVtb+jH1+zeVZzP2iPDBSG 6HxSfeNgGUFsEQz+HKv732B6BezvXMzVbcLD2IlsxLp77lx5fKQjhAD5nevf6Ywgvfa7 RtqFMzpH5ZCWTmalivXOS02hhjHrj35ixsrqqUcuLoGjmULjat4aTAlkfcmwDZGA81cI rXaw== ARC-Authentication-Results: i=1; mx.google.com; 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 u9-v6si6517829plk.516.2018.04.20.11.15.57; Fri, 20 Apr 2018 11:16:12 -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; 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 S1753716AbeDTSNx (ORCPT + 99 others); Fri, 20 Apr 2018 14:13:53 -0400 Received: from mout.gmx.net ([212.227.15.18]:44613 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753677AbeDTSNw (ORCPT ); Fri, 20 Apr 2018 14:13:52 -0400 Received: from [192.168.20.60] ([89.244.181.192]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MV5tl-1evbMf10EX-00YQDj; Fri, 20 Apr 2018 20:13:40 +0200 Subject: Re: [PATCH] parisc: time: Convert read_persistent_clock() to read_persistent_clock64() To: Arnd Bergmann , Baolin Wang Cc: "James E.J. Bottomley" , Alexandre Belloni , Kate Stewart , gregkh , Thomas Gleixner , Parisc List , Mark Brown , Linux Kernel Mailing List References: <4914b33abd8969906d2db0ae5c3da4f205f0bfe9.1524120572.git.baolin.wang@linaro.org> From: Helge Deller Message-ID: <7a243faa-14c8-ec8f-9f98-cda6dc58d6b3@gmx.de> Date: Fri, 20 Apr 2018 20:13:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:ZssoM/DGpvyoCkRg6jZSNYUgAdJ/pVNLMJnaVcdmw4UHM50Z95+ EKGz7ILn/f93qEq18+NKSCDskMzWMvzsGrwTnAS+2MgtNBEQmcuyM0Z8dlA8yBhNO006I0o WjpzQM9bh1CAziusLZaejzWG45VuKMGY/3a17TwNW8yjP160GEZpfDRHjlTZGEt75ZQpo3d chCQEC5PUVuSDbP7yH79g== X-UI-Out-Filterresults: notjunk:1;V01:K0:B4eahmyzBuc=:VjUjb4OroGUPa2hNvVF7ds O/ZHfA+Yo2K3VtTySyXhIkQcLIR6+3IKSPWnCRojaF4PxNGkcBaZ2jvliZyXFDXll4af+GMi4 fdZ/yj3luFag1ScjM7sGHUED6XLxAm1bd1flxN1lifRIFZTJSOjao6ofaRQMM/m1hNp6jOBZV YMgntCqn+39k9HVCsykij2/1HwqpgVPwT79z2zsRKqRlOxUbYc809t+VQ0tUBOGDflV+OP2Rg Rj5XDfehGfukfdX2LG7rTy1I/szjoQy0XgWDvxzRDgZtaemlvEqy7wi/16bDKzmVs8TmUI6sN zB0MgJCmccGv8JMV+gm/8uddmcx9QMsir5+oKmRC04AbE7prnPfjQdo8s6rDSlzFfColh5XLb Wu9ATZ+qOqieXVNV4e9E4CNS2Kc8jxaSO/52GtlYPYVvyBTw5GXem1lABO8x/wyE9mE2ljzqf k2imcMxukpCBxwSFcbkUYpzsE40ir/8PQxTtVU7wz1NAF7X6XdaPMfBJeGxDfiA8L6dnZAq7r FUL8S7WlG2ndDC1V4sSmhoSUfqZjMPkBvk2poJzmQsLJGHqcUbkEc0kVVd2c9aNhkMUoZyuhz mH77mSsdRscFEjainyK31nHMtzktNlOVrcdxbPLu4RkNSiQyJRrOILL51apV475HiOnbPBAkR /rdpFR24ZGIOjp/Zy9LGsbaDX9NNs6aNODZ2l+DcQEwFVZVnaPxL828m/L4ZYRTGdJyvwBPd+ 3/W8KE/okwAfFdclH7eslxTVQ3Q4Hk5eRPaJnbzpiAdEohAge+dmrDqCXGfn91uFeBb/mPcO6 KH3N89lf+PJB4wHP71szbXaNOAnY3gFdBZ65f8oULJtzaXp7/4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.04.2018 17:23, Arnd Bergmann wrote: > On Thu, Apr 19, 2018 at 8:51 AM, Baolin Wang wrote: >> The read_persistent_clock() uses a timespec, which is not year 2038 safe >> on 32bit systems. On parisc architecture, we have implemented generic RTC >> drivers that can be used to compensate the system suspend time, but the >> RTC time can not represent the nanosecond resolution, so this patch just >> converts to read_persistent_clock64() with timespec64. >> >> Signed-off-by: Baolin Wang > > I have created the exact same patch a while ago but never submitted that. > > If the parisc maintainers want to apply yours with my Ack, that > would be appreciated. > > Acked-by: Arnd Bergmann Thanks, I'll take it through the parisc git tree. Helge