Linux RTC
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Arnd Bergmann" <arnd@kernel.org>
Cc: linux-rtc@vger.kernel.org,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH] rtc: class: Make the time32 hctosys limit configurable
Date: Tue, 20 Oct 2026 08:43:21 +0000	[thread overview]
Message-ID: <sashiko-outbox-178602@kernel.org> (raw)
In-Reply-To: <20261020080026.2461578-1-arnd@kernel.org>

> From: Karl Mehltretter <kmehltretter@gmail.com>
> 
> The RTC_HCTOSYS feature faces an impossible dilemma on 32-bit systems:
> 
>  a) systemd requires RTC_HCTOSYS=y with the correct timestamp
>     for its intended operation
> 
>  b) broken RTC hardware can produce random future timestamps
>     beyond 2038 at boot time
> 
>  c) time32 userspace immediately hangs if the time is set to a
>     date beyond 2038 and requires timestamps to be clamped
> 
>  d) time64 userspace is intended to survive the actual 2038
>     date and requires timestamps to not be clamped
> [ ... ]
> Fixes: b3a5ac42ab18 ("rtc: hctosys: Ensure system time doesn't overflow time_t")
> Link: https://lore.kernel.org/all/20220908115337.1604277-1-arnd@kernel.org/
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261020080026.2461578-1-arnd@kernel.org?part=1


  reply	other threads:[~2026-10-20  8:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20  7:59 [PATCH] rtc: class: Make the time32 hctosys limit configurable Arnd Bergmann
2026-10-20  8:43 ` sashiko-bot [this message]
2026-10-20 13:11 ` Alexandre Belloni
  -- strict thread matches above, loose matches on Subject: below --
2026-09-14 21:25 Karl Mehltretter
2026-09-14 21:29 ` sashiko-bot
2026-09-15  5:48 ` Arnd Bergmann
2026-09-15 22:37   ` Karl Mehltretter
2026-09-16  6:56     ` Arnd Bergmann
2026-09-19  0:10       ` Karl Mehltretter
2026-09-19  9:16         ` Arnd Bergmann
2026-09-22 21:37           ` Alexandre Belloni
2026-09-24 15:07             ` Arnd Bergmann
2026-10-05 13:49               ` Alexandre Belloni
2026-10-06 12:33                 ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-178602@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=arnd@kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox