Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp300328pxu; Fri, 11 Dec 2020 02:39:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLhVgVAZ1zMn+U7jipQgnw9FlmX2oTznjLDl96NlqFF+miWQ8NKdjz2doF6BAwLJ7+PrYR X-Received: by 2002:a05:6402:c95:: with SMTP id cm21mr11070700edb.294.1607683169300; Fri, 11 Dec 2020 02:39:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607683169; cv=none; d=google.com; s=arc-20160816; b=WpWoY4J9BbQwcey3O0QfrosWT8Ocf/ksGNolazjZHehS25fQtxunWyfL4A3AsAXUiQ KUJoQNNSn6PRrbu5LKaJhaKxPKzjEDc/aSYiOTL9r+zMSV2t3pLSItc8otsFErMKLhuB PYPZTFMCdSn9no63zujIgblnvwUcYUDOsEqfuWiI56SXimZopJJNBOXOSowDJBHcHYiF xWbMk19s5oSrOvyPnHpa7XWs2qmLVnzauKjtUtOuDivQE/3dgnHdK8B1rnqTi6X+eaNX X0JZaQ3+x0HxI/sBF0uNBlbw5OiopPAlZC5dvtQHzkeQluNUqFI6Sm76yiBCUAz7Lej4 4zxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dpctpD6zKV7gFm/1BHD4fmWiDJ6QXMotGBskk8jfgNU=; b=I1Dmfbxyl2iMzt8sm4r2GUfpc5S9uVaG+HHKPwXJoskcFBHVYITkTOXcoGjQrngpLD reJb5lmY7jRmNGom6j7jZtagxaDtPBda2nNXVwzq1QTCAqraQIsOP45WhlVNLqKzedAK c5BJB2LZpHLaXtmj6UXpG+XwniMel3ASPY8P8ebjAWBfjxjzYemYar5dRAw78NGHgLOR bLYHBTdJbaGZ1po4hO9t9q43zr8yD1VfxPf+/Xd9HVlfPYnTZY0k1Bj+79UNNqizDJ5F usGo8qwZaTHnYNACiRUouxTSct9JvxLao810b0GGqa3VZna/WfWJNYhKa5fYj3Vbpds9 gGLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn5si4676159ejc.533.2020.12.11.02.39.06; Fri, 11 Dec 2020 02:39:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404093AbgLKAaQ (ORCPT + 99 others); Thu, 10 Dec 2020 19:30:16 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:36653 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393615AbgLKA3l (ORCPT ); Thu, 10 Dec 2020 19:29:41 -0500 X-Originating-IP: 86.194.74.19 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 0E0F8FF803; Fri, 11 Dec 2020 00:28:51 +0000 (UTC) Date: Fri, 11 Dec 2020 01:28:51 +0100 From: Alexandre Belloni To: Thomas Gleixner Cc: LKML , Jason Gunthorpe , Miroslav Lichvar , John Stultz , Prarit Bhargava , Alessandro Zummo , linux-rtc@vger.kernel.org, Peter Zijlstra Subject: Re: [patch 4/8] rtc: core: Make the sync offset default more realistic Message-ID: <20201211002851.GB1781038@piout.net> References: <20201206214613.444124194@linutronix.de> <20201206220541.960333166@linutronix.de> <20201210235908.GA1781038@piout.net> <87czzhi40y.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87czzhi40y.fsf@nanos.tec.linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/12/2020 01:23:57+0100, Thomas Gleixner wrote: > Alexandre, > > On Fri, Dec 11 2020 at 00:59, Alexandre Belloni wrote: > > On 06/12/2020 22:46:17+0100, Thomas Gleixner wrote: > >> /* Drivers can revise this default after allocating the device. */ > >> - rtc->set_offset_nsec = NSEC_PER_SEC / 2; > >> + rtc->set_offset_nsec = 10 * NSEC_PER_MSEC; > > > > I did retest, on a slow 100kHz i2c bus, with a fairly inconvenient RTC, > > The maximum offset to set the RTC was 4845533ns so I'd say 10ms is too > > large. Should we make that 5ms ? > > Sure. As I said I pulled the 10 out of thin air. > > > Apart from that, on the series, you can add my > > Acked-by: Alexandre Belloni > > I'll amend the s/10/5/ throughout the series while queueing the whole > pile in the timers/core branch unless you want it to be handled > differently. > That's fine for me. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com