Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2427494imu; Thu, 10 Jan 2019 14:10:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN7tLf9nsHTjmybX53TwrbxCpwQaJxm7EzNKU0ERbgkA75ielGbgEa5/5ppLdqQcfYvDa/9X X-Received: by 2002:a63:9e58:: with SMTP id r24mr918173pgo.264.1547158200581; Thu, 10 Jan 2019 14:10:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547158200; cv=none; d=google.com; s=arc-20160816; b=YMHDPy9Po50fVVxCM1OKQmA/MmW4eIOPUxswulFG/jhz2d9ZvYF7T11f/i3h9bCdo5 YdoEU53tb69TkzFAa4XSv6fyh3Q98SqDk15hhLbSDrF3vK1MRn92/AsCeFG/LmEpQAcZ OEIc/mvJodOrHq0PF8WIJ09kYsIGbvAK1ZH3uluX3MgCZgD0YGjKxINSYZf43Ercs7xs WlwROQXttmcWW5TLVu8h0QUaazood6L7qHY/S39Etp1oOQI665YozX+31qs5nj11UhdX cl9jB5XFR6ao2reKLaAvA83jPpcCuD2/KSulAR4AFlthcMHTtbSXJBUhjmwPeW0xGEIl Iz7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ByKT1BhRhLRWV0MuiKQ+pvwooEypdTVn1rbQyzUCk7k=; b=zKL7DHifxeeqXBWqSNrmrdhgVoQbncOHXQIlTCxN4I4AO2+rMOYhoFFdLiM7uzOPoL kc7GUT+vxrhrZaM2sKEp7pL+X/B4RfeJ+MST4NlFh0Q5ldV6eDxuYDmYiYk4vfoZA1+A 2kzdBGvKHmYE5QMjFiBfipYwSXE7b/WCy3pzdmjVq1IkFB4lEZuVl2U7CkPVs7bKJxFd pfB0gqsYIJW03NDw611RpDQlfgBeQYvmWhJNpyVwUYRqZNXr5bdjRqg6crPKszOjnQl0 ymo9YOAGEQWEwDIsU3PBwo5NJ5k1cp+USLYusySt7k3V/e4txiQ5/eX3ck+NbMxj1mmf v+9w== 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 p16si29615143plr.31.2019.01.10.14.09.45; Thu, 10 Jan 2019 14:10:00 -0800 (PST) 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 S1729436AbfAJV4F (ORCPT + 99 others); Thu, 10 Jan 2019 16:56:05 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:58530 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729257AbfAJV4E (ORCPT ); Thu, 10 Jan 2019 16:56:04 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 30BA21F803; Thu, 10 Jan 2019 21:56:04 +0000 (UTC) Date: Thu, 10 Jan 2019 21:56:04 +0000 From: Eric Wong To: Alexandre Belloni , Patrick McDermott Cc: Alessandro Zummo , Sylvain Chouleur , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: cmos: ignore bogus century byte Message-ID: <20190110215603.gliuq36qqpfnflkv@dcvr> References: <20190106082103.evfgarznrskd4oxh@dcvr> <20190110213334.GE2362@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190110213334.GE2362@piout.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexandre Belloni wrote: > Does this mean that it is set to an invalid value and that in is not > getting updated properly in mc146818_set_time? It seems to be set/updated without trouble while the machine is on. It's only on a cold boot (from poweroff or hibernate) that the value is invalid. Patrick may be able to fill you in on more details.