FYI, we noticed the below changes on
https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
commit cab572b82c4bc5f2854fdc1d42402100aa9c9683 ("rtc: fix overflow and incorrect calculation in rtc_time64_to_tm")
You commit may be not the root cause. We found after your commit, there
are still "invalid alarm value" in kernel log. I think that is the
issue you try to resolve?
[ 5.242384] rtc rtc0: invalid alarm value: 2016-1--7 0:0:0
Thanks,
Ying Huang