From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F2AF4ECAAD3 for ; Thu, 1 Sep 2022 13:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nP8GmN4nt4JY/zuqebHbQucMHn2Nsg+PlnINL7ar/JU=; b=gC2+EQZQtT7aLR mPhiK5EEcWiq/BB1nQHi8kaaXZFZMgctTn10Ptc/5RJ0tjoz5AZw2CJZje88wYONRmShzZyJoHDxo ncJUhlw8EjiUG1m25AIdEcUrAGh3aqOfBdWPvLIoOcPfssixmBwaJjmY94ax7myijvTSv9vovCMV+ KMAr+dr9OIUy8PP00DbI6EzwQI2tv1/m8/ptNNE2XIfEbjV/1dnL0VH9L9hOymLJxY58UVWVlfesX 3ap/Se+dKuSKi9OWQ7rzjsoJ0EE1EgJU5GBQsgSp3OGl8yXRNfSZzilh0MrOL7KSQaz0Vz8oT0s+C 8aaQM2QCM5RXWDF1fErg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTkXA-00CCNc-EO; Thu, 01 Sep 2022 13:47:04 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTkWt-00CCFI-Vu for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2022 13:46:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gd07tbQ+MaGmqxL/loMFNF/svbyv14rOUAewDmJ/i4s=; b=Bgp/YRB8Y6KEkkIHcx+T9LxOEe Sw2MICokAtSKZ+dtQZaRDOV6OAEsOV+DHvD0dSON7CA4MajrPlfW9N367e9ETeYFGNwtLKTE4VjFG WHdInZUwUxcwBy8t8z+dr4CHP5Wl+WUF5bmPb1OxJ/nxthTFtSw1T88ywcqoNkVBX6fUu0Zvr5tiM z1qWLRbpZoS9FpE1C+jq3BL8VmsC9d+3ORJ5NGZc7YV0bjeS1CG2YStOVlWBF2/MIcgM2XIBEWsbQ WJcjvNqiMG1L68vWJvC3hM2fNvdP0UMVvFc2P73vnuP20Mt/BsWD/F7WB8cp/yRK2qsJh2wWjvTVv +3o5y4Xw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34036) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oTkWm-0005uv-NJ; Thu, 01 Sep 2022 14:46:40 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oTkWl-0003Vg-Ed; Thu, 01 Sep 2022 14:46:39 +0100 Date: Thu, 1 Sep 2022 14:46:39 +0100 From: "Russell King (Oracle)" To: Arnd Bergmann Cc: Alexandre Belloni , linux-arm-kernel@lists.infradead.org, y2038@lists.linaro.org Subject: Re: RTC hctosys disabled for 32-bit systems Message-ID: References: <802ca9c8-4b61-4568-a946-8e6330807eb3@www.fastmail.com> <8eca48d9-bd10-4857-9e43-a5b20a8db625@www.fastmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <8eca48d9-bd10-4857-9e43-a5b20a8db625@www.fastmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220901_064648_058524_DE8C6F03 X-CRM114-Status: GOOD ( 15.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 01, 2022 at 03:12:57PM +0200, Arnd Bergmann wrote: > Ah, I forgot that systemd actually needs it. So I guess there is > currently no way to use systemd on 32-bit machines that are > meant to survive 2038, regardless of whether systemd and glibc are > built with a 64-bit time_t or not, right? > > Is there perhaps a way to change the logic in a way that > it does not depend on the current time but instead depends > on a property of the RTC device itself, so we make systems > break immediately instead of by surprise in 2038? Are you seriously suggesting to cause regressions on systems where the RTC can send the kernel's timekeeping back to the early 1900s, rather than printing a big fat warning message in the kernel log? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel