All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] rtc: rv8803 patches
@ 2022-11-23  9:55 Sascha Hauer
  2022-11-23  9:55 ` [PATCH 1/2] include/linux/bcd.h: provide bcd_is_valid() helper Sascha Hauer
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Sascha Hauer @ 2022-11-23  9:55 UTC (permalink / raw)
  To: linux-rtc; +Cc: Alexandre Belloni, kernel, Alessandro Zummo, Sascha Hauer

This series has the remainder of
https://lore.kernel.org/all/20220426071056.1187235-1-s.hauer@pengutronix.de/
which was partly applied.

Alexandre,

Last time this series was send you asked if this series fixes a problem
we've really seen to which Ahmad answered:

> The kernel message
> 
>   rtc rtc0: invalid alarm value: 2020-3-27 7:82:0
> 
> listed in the commit message is something I actually ran into. There
> was no v2f set then. The customer has also variously observed bit flips
> independently of v2f: During EMC testing, electrostatic discharge at developer
> desks and even in the field: Suspected causes were lightning strikes in the
> vicinity and the switching of larger inductive loads.
> They're very paranoid of logging invalid timestamps, so we'll keep the patch
> anyhow at our side, but I think it is generally useful as well: If we can't
> set an invalid alarm time by normal means, but read back an invalid time,
> something may have corrupted other memory, so treating it as a v2f is sensible.

There was no answer to this. I would be glad if you could take this
series. I would understand though if you say that this problem is too
esoteric to fix it upstream, we would keep the patches locally then.
Please just say so, it would help me to get the problem from my desk ;)

Thanks,
  Sascha



Ahman Fatoum (1):
  include/linux/bcd.h: provide bcd_is_valid() helper

Sascha Hauer (1):
  rtc: rv8803: invalidate date/time if alarm time is invalid

 drivers/rtc/rtc-rv8803.c | 45 +++++++++++++++++++++++++++++++++-------
 include/linux/bcd.h      |  4 ++++
 2 files changed, 42 insertions(+), 7 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-09 22:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23  9:55 [PATCH RESEND 0/2] rtc: rv8803 patches Sascha Hauer
2022-11-23  9:55 ` [PATCH 1/2] include/linux/bcd.h: provide bcd_is_valid() helper Sascha Hauer
2022-11-23  9:55 ` [PATCH 2/2] rtc: rv8803: invalidate date/time if alarm time is invalid Sascha Hauer
2022-12-13 10:08 ` [PATCH RESEND 0/2] rtc: rv8803 patches Marc Kleine-Budde
2023-01-09 14:36 ` Marc Kleine-Budde
2023-01-31  8:19 ` Marc Kleine-Budde
2023-01-31 12:00   ` Alexandre Belloni
2023-02-06 15:18     ` Marc Kleine-Budde
2023-02-09 22:03       ` Alexandre Belloni
2023-02-09 22:02 ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.