Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1512589imm; Sun, 8 Jul 2018 04:45:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRSZMTKAuXoqv+98/7GI4wrAy3QKQbuiw3XjPlhFZ/eFDv7J/4H2SYIc/icV+HBRlFp0Id X-Received: by 2002:a62:9992:: with SMTP id t18-v6mr17299086pfk.239.1531050318170; Sun, 08 Jul 2018 04:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531050318; cv=none; d=google.com; s=arc-20160816; b=f7dBHxX26lo57uVxMw+Eh6L/umVaOMcmHItOsb4hA6VybWVrZeWek5A4faHtdKRAob R75PIqXMnQIwbzh9hAaZ2G0hk6Tb1NmIwhr9LgVDXDUneHv6hi4YSOcI61IAMiZWwzRU f8uDNWDUzjfxCno2/ZRR6jcO97yxZh+Da4zrk5/Ji37mzlRtxeEYHaUFF3OuGJcistbd pK1SnM3R7ZNK3v/Jb6mfyIWOrFOcYaJnmRcAzilxuB6qaz2jcWt1xSIvVMnKUl6ocnQ9 ZCCIaxSQpf9ba63HzhNA9TaUAscNQzvFxMvDkB7eOTspQeS92EZq0XVEFh8us5/n6faR lZpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:arc-authentication-results; bh=VsW8+La6WbT/GfEoL1SFa11lLsTAeA5nkn6mz2/cft8=; b=i2fySyt3dZespfacleiM05FDUxbbKqaLfBnFfI5P/QckMF5MKPnDU7irEZQ3luQd4T JGX/HG1EUKylwt1wY6s9se+3Zyke+QX/Te8PKPe0srtvv4Bk4SeZz29t6EPkXHCzr2tN QVSQlaGMxjNqTxQAkoKTnxI+5OKEYP+vz3vmJvtjVG3daAZfv+siSReexzAN1b1gu6BI F9jyTc8Nc08+jTchXhPoPWEfjSKckr225qhN6d7OZlFX0bHwRov2DhQbDCeOpZpcn/vo EJ708HgF4aQxG1uVG0/qy8gHf+VBqbtUqNHmHHgBgfRHX8d3ycfBM8O1Oz+QUqia22zB QpYg== 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 190-v6si11681266pgd.673.2018.07.08.04.45.04; Sun, 08 Jul 2018 04:45:18 -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 S932917AbeGHLoK (ORCPT + 99 others); Sun, 8 Jul 2018 07:44:10 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:51112 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932839AbeGHLoJ (ORCPT ); Sun, 8 Jul 2018 07:44:09 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id C91B3237DF; Sun, 8 Jul 2018 07:44:04 -0400 (EDT) Date: Sun, 8 Jul 2018 21:45:21 +1000 (AEST) From: Finn Thain To: Geert Uytterhoeven cc: Arnd Bergmann , Paul Mackerras , Michael Ellerman , Joshua Thompson , Mathieu Malaterre , Benjamin Herrenschmidt , Greg Ungerer , linux-m68k , linuxppc-dev , Linux Kernel Mailing List , y2038 Mailman List , Meelis Roos , Andreas Schwab Subject: Re: [PATCH 2/3] [v2] m68k: mac: use time64_t in RTC handling In-Reply-To: Message-ID: References: <20180619140229.3615110-1-arnd@arndb.de> <20180619140229.3615110-2-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 8 Jul 2018, Geert Uytterhoeven wrote: > On Fri, Jun 22, 2018 at 10:55 AM Arnd Bergmann wrote: > > I don't think anyone so far had a strong preference here, so I went > > with what Mathieu suggested and kept the original Mac behavior, but > > added the WARN_ON(). > > So, is this safe to apply? > Especially in light of the warnings seen by Meelis with the PPC version. > You mean, "can we apply this and avoid warning splats?" Meelis's result says, "no". I forget what date the RTC gets set to when the PMU/Cuda is reset but I suspect that timezone arithmetic in either MacOS or Linux could cause it to end up in 1969. So I'd prefer to see the WARN_ON() removed. --