public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Alexandre Mergnat <amergnat@baylibre.com>,
	linux-rtc@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH 6.15.y 0/2] rtc: backport support for handling dates before 1970
Date: Sat, 7 Jun 2025 09:09:06 +0200	[thread overview]
Message-ID: <2025060743-cozy-dormitory-5e4d@gregkh> (raw)
In-Reply-To: <cover.1749223334.git.u.kleine-koenig@baylibre.com>

On Fri, Jun 06, 2025 at 05:44:37PM +0200, Uwe Kleine-König wrote:
> Hello,
> 
> as described in the commit log of the two commits the rtc-mt6397 driver
> relies on these fixes as soon as it should store dates later than
> 2027-12-31. On one of the patches has a Fixes line, so this submission
> is done to ensure that both patches are backported.
> 
> The patches sent in reply to this mail are (trivial) backports to
> v6.15.1, they should get backported to the older stable kernels, too, to
> (somewhat) ensure that in 2028 no surprises happen. `git am` is able to
> apply the patches as is to 6.14.y, 6.12.y, 6.6.y, 6.1.y and 5.15.y.
> 
> 5.10 and 5.4 need an adaption, I didn't look into that yet but can
> follow up with backports for these.
> 
> The two fixes were accompanied by 3 test updates:
> 
> 	46351921cbe1 ("rtc: test: Emit the seconds-since-1970 value instead of days-since-1970")
> 	da62b49830f8 ("rtc: test: Also test time and wday outcome of rtc_time64_to_tm()")
> 	ccb2dba3c19f ("rtc: test: Test date conversion for dates starting in 1900")
> 
> that cover one of the patches. Would you consider it sensible to
> backport these, too?

If you want to, sure, but normally people run the latest in-kernel
selftests for older kernel trees.

thanks,

greg k-h

      parent reply	other threads:[~2025-06-07  7:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-06 15:44 [PATCH 6.15.y 0/2] rtc: backport support for handling dates before 1970 Uwe Kleine-König
2025-06-06 15:44 ` [PATCH 6.15.y 1/2] rtc: Make rtc_time64_to_tm() support " Uwe Kleine-König
2025-06-08 12:48   ` Sasha Levin
2025-06-06 15:44 ` [PATCH 6.15.y 2/2] rtc: Fix offset calculation for .start_secs < 0 Uwe Kleine-König
2025-06-08 12:48   ` Sasha Levin
2025-06-07  7:09 ` Greg KH [this message]

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=2025060743-cozy-dormitory-5e4d@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=amergnat@baylibre.com \
    --cc=linux-rtc@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=u.kleine-koenig@baylibre.com \
    /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