Re: [PATCH] rtc: adjust the next alarm expiring time to avoid a softlockups.

2019-10-20 Thread Alexandre Belloni
Hello Jiwei, I know this has been more than a year but I didn't apply that patch because I was suspecting that the end result was not correct. I took some time today to verify that and indeed, this is almost right but it causes a spurious update going to userspace just after SET_TIME is called. Th

[PATCH] rtc: adjust the next alarm expiring time to avoid a softlockups.

2018-04-16 Thread Jiwei Sun
When run the following test case, /* * This expects the new RTC class driver framework, working with * clocks that will often not be clones of what the PC-AT had. * Use the command line to specify another RTC if you need one. */ static const char default_rtc[] = "/dev/rtc0"; int main(int argc,