Re: [PATCH 1/2] rtc: Add UIE handling ability to rtc_class_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On 5/30/24 12:35, Alexandre Belloni wrote:
Well, you didn't answer my question which is why do you need UIE and
especially UIE from the RTC? Using the timer emulation is probably what
you want because it is in sync with your system time.

We set up `chrony` to use UI events as a time reference. Upon startup, `chrony` opens the RTC with UIE_ON, reads the initial RTC value on the first transition, then keeps the system clock in sync with the RTC using the interrupt signal. So we want to synchronize the system time to UIE, not the other way around.

>> So my question would instead be: what was the rationale of removing it in
>> the first place?

I was genuinely asking, because I couldn't find the original letter, only subsequent ones from 2-4 years ago, removing bits and pieces from individual RTC device drivers.

Bence





[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux