From: "Csókás Bence" <csokas.bence@prolan.hu>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: <linux-rtc@vger.kernel.org>
Subject: Re: [PATCH 1/2] rtc: Add UIE handling ability to rtc_class_ops
Date: Thu, 30 May 2024 15:47:01 +0200 [thread overview]
Message-ID: <4947fa9b-a8bf-40b8-83ce-d365cf917a95@prolan.hu> (raw)
In-Reply-To: <20240530103532e6d4f421@mail.local>
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
prev parent reply other threads:[~2024-05-30 13:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 16:13 [PATCH 1/2] rtc: Add UIE handling ability to rtc_class_ops Csókás, Bence
2024-05-28 17:56 ` Alexandre Belloni
2024-05-30 9:59 ` Csókás Bence
2024-05-30 10:35 ` Alexandre Belloni
2024-05-30 13:47 ` Csókás Bence [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4947fa9b-a8bf-40b8-83ce-d365cf917a95@prolan.hu \
--to=csokas.bence@prolan.hu \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-rtc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).