Linux RTC
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>,
	linux-renesas-soc@vger.kernel.org,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	linux-rtc@vger.kernel.org
Subject: Re: [PATCH v2] rtc: rzn1: implement one-second accuracy for alarms
Date: Mon, 17 Mar 2025 23:24:37 +0100	[thread overview]
Message-ID: <20250317222437f14a32f0@mail.local> (raw)
In-Reply-To: <Z86rueNSSps2foF9@shikoro>

On 10/03/2025 10:07:05+0100, Wolfram Sang wrote:
> Hi Alexandre,
> 
> On Mon, Mar 10, 2025 at 09:16:58AM +0100, Wolfram Sang wrote:
> > 
> > > Yes, you followed the code correctly, I have a series that is removing
> > > RTC_UF that I didn't send yet.
> > 
> > Please CC me when you send this. I am interested.
> 
> Do you also have a series pending simplifying handling of
> 'max_user_freq'? AFAICS this is totally HW independent now, meaning we
> can just deal with the constant max value in the core and remove messing
> with with it in the drivers. If you don't have such a series, I am
> willing to work on this.
> 

Yes, I have something I worked on a few years ago now. I was wondering
about the proper default policy which is 64 Hz right now and which max
value we should allow, this is 4096Hz but we have one RTC setting 8192.

I don't this it matters too much because there seem to be very few
userspace programs using RTC_IRQP_SET and RTC_PIE_ON, muse, tutka,
twclock, tvtime and mplayer. They are all either very old or this is an
optional feature with a better replacement.

While I'm reviewing all your other series, do you mind having a look at
https://lore.kernel.org/all/20250205173918.600037-1-herve.codina@bootlin.com/
It has been submitted a while ago now.


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2025-03-17 22:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-05 10:08 [PATCH v2] rtc: rzn1: implement one-second accuracy for alarms Wolfram Sang
2025-03-05 22:06 ` Alexandre Belloni
2025-03-07  6:55   ` Wolfram Sang
2025-03-07 18:38     ` Alexandre Belloni
2025-03-08 13:21       ` Wolfram Sang
2025-03-10  8:16       ` Wolfram Sang
2025-03-10  9:07         ` Wolfram Sang
2025-03-17 22:24           ` Alexandre Belloni [this message]
2025-03-19  7:45             ` Wolfram Sang
2025-03-17 22:26 ` Alexandre Belloni

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=20250317222437f14a32f0@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=wsa+renesas@sang-engineering.com \
    /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