Re: [PATCH 2/3] [v2] m68k: mac: use time64_t in RTC handling

From: Finn Thain
Date: Sun Jul 08 2018 - 07:44:23 EST


On Sun, 8 Jul 2018, Geert Uytterhoeven wrote:

> On Fri, Jun 22, 2018 at 10:55 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:

> > I don't think anyone so far had a strong preference here, so I went
> > with what Mathieu suggested and kept the original Mac behavior, but
> > added the WARN_ON().
>
> So, is this safe to apply?
> Especially in light of the warnings seen by Meelis with the PPC version.
>

You mean, "can we apply this and avoid warning splats?"

Meelis's result says, "no".

I forget what date the RTC gets set to when the PMU/Cuda is reset but I
suspect that timezone arithmetic in either MacOS or Linux could cause it
to end up in 1969.

So I'd prefer to see the WARN_ON() removed.

--