Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4431183ybl; Tue, 20 Aug 2019 11:47:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKHtVYBYUoZxgSfY+jwpQbDRxaxI2e+CALAlICQhWFAmrc38eTfkEC5EehRUxEYNwId4j7 X-Received: by 2002:a63:c1c:: with SMTP id b28mr26034763pgl.354.1566326833287; Tue, 20 Aug 2019 11:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566326833; cv=none; d=google.com; s=arc-20160816; b=fxRNYGv3unJAea3V3Y5HuIzFqdMS44VL1CXlFrtReppr89N5d80ELs2MIfbxa9yFZv ksv/d+som5ym1k86a0Aoo4/1rPg73FoN2JPbHd3Lj9+Se5DB8g/YuFKezTfPIuBGpGLX 5OMDAr7tS0NfLifL5fe02wRtSwJXoIwBj6PAQgYa94yjdmSA2nNvHWmoWgKzsYJGR7n6 +rvFJJLVvQQsxRO+IVwylcJIsxZA7fuEp9jrKZxPx03n981dm/krBR0CEoyk456SyPTV 7ueHZBJ3OLMgdf9kkWGZsKy9vBh1LZH1lFWDUOCk9VCFouBPjEd4R2y/UX6b8x6hvUyu +TNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5DZVoatN5oMOf+4WCz+DBJjsE9XKRUdPsI3SpxnfTTE=; b=tSMHNQH9iK8PzaA07tmwM9rMmk+h9l78H16qDf0fXKvLuxpP+BMVuThucuZdgfUyKa ra4aTnRDgAvXusdO3d/J+x+uNZciKzQJ8JG+RGr3IhHgM2vhPLXMJYb0Iga+3DocujsZ Wqfn8XfWv3BT8nkg8Zt4z21C35x4JKeorFUVqKS4xYKf3unl/pjfq9nxjOBTyoq09GRq yWt8JICpoZyAq1DBSZQtPTP8xI+kO9m5nSEYyapfbYQk13/KvRVMHaZodcaA2rc2zC5u ne6JmGpseofC4Le2xANYzFtlKT0QVTrSpZzppu7aWYOCTme09Q6s6Zb2HURJnEoRdFLj hh+A== 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 3si12696467pgn.62.2019.08.20.11.46.57; Tue, 20 Aug 2019 11:47:13 -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 S1730503AbfHTSqC (ORCPT + 99 others); Tue, 20 Aug 2019 14:46:02 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:52193 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730006AbfHTSqC (ORCPT ); Tue, 20 Aug 2019 14:46:02 -0400 X-Originating-IP: 90.65.161.137 Received: from localhost (lfbn-1-1545-137.w90-65.abo.wanadoo.fr [90.65.161.137]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 1347560003; Tue, 20 Aug 2019 18:45:57 +0000 (UTC) Date: Tue, 20 Aug 2019 20:45:57 +0200 From: Alexandre Belloni To: Thomas Gleixner Cc: Karel Zak , Lennart Poettering , Arnd Bergmann , "Theodore Y. Ts'o" , Linus Torvalds , Linux Kernel Mailing List , John Stultz , Stephen Boyd , Florian Weimer , "H. Peter Anvin" , Palmer Dabbelt , Alistair Francis , GNU C Library , OGAWA Hirofumi Subject: Re: New kernel interface for sys_tz and timewarp? Message-ID: <20190820184557.GO3545@piout.net> References: <20190814000622.GB20365@mit.edu> <20190814090936.GB10516@gardel-login> <20190814093208.GG3600@piout.net> <20190819110903.if3dzhvfnlqutn6s@ws.net.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/08/2019 15:49:24+0200, Thomas Gleixner wrote: > On Mon, 19 Aug 2019, Thomas Gleixner wrote: > > On Mon, 19 Aug 2019, Karel Zak wrote: > > > On Wed, Aug 14, 2019 at 11:32:08AM +0200, Alexandre Belloni wrote: > > > > On 14/08/2019 11:09:36+0200, Lennart Poettering wrote: > > > > > On Mi, 14.08.19 10:31, Arnd Bergmann (arnd@arndb.de) wrote: > > > > > > > > > > > - glibc stops passing the caller timezone argument to the kernel > > > > > > - the distro kernel disables CONFIG_RTC_HCTOSYS, > > > > > > CONFIG_RTC_SYSTOHC and CONFIG_GENERIC_CMOS_UPDATE > > > > > > > > > > What's the benefit of letting userspace do this? It sounds a lot more > > > > > fragile to leave this syncing to userspace if the kernel can do this > > > > > trivially on its own. > > > > > > Good point, why CONFIG_RTC_SYSTOHC has been added to the kernel? > > > > 023f333a99ce ("NTP: Add a CONFIG_RTC_SYSTOHC configuration") > > Just for the record. Not a single defconfig enables, but it's selected by > SPARC for whatever reason. > I think the issue is that most of the common distributions enable it. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com