[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250613082938-04b6c1ae-b5b9-4547-bb23-23fd0df81818@linutronix.de>
Date: Fri, 13 Jun 2025 08:32:30 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>, netdev@...r.kernel.org,
Richard Cochran <richardcochran@...il.com>, Christopher Hall <christopher.s.hall@...el.com>,
John Stultz <jstultz@...gle.com>, Frederic Weisbecker <frederic@...nel.org>,
Anna-Maria Behnsen <anna-maria@...utronix.de>, Miroslav Lichvar <mlichvar@...hat.com>,
Werner Abt <werner.abt@...nberg-usa.com>, David Woodhouse <dwmw2@...radead.org>,
Stephen Boyd <sboyd@...nel.org>, Kurt Kanzenbach <kurt@...utronix.de>,
Nam Cao <namcao@...utronix.de>, Antoine Tenart <atenart@...nel.org>
Subject: Re: [patch V2 06/26] ntp: Add support for auxiliary timekeepers
On Mon, May 19, 2025 at 10:33:21AM +0200, Thomas Gleixner wrote:
> If auxiliary clocks are enabled, provide an array of NTP data so that the
> auxiliary timekeepers can be steered independently of the core timekeeper.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> ---
> kernel/time/ntp.c | 41 ++++++++++++++++++++++-------------------
> 1 file changed, 22 insertions(+), 19 deletions(-)
<snip>
> void __init ntp_init(void)
> {
> - ntp_clear();
> + for (int id = 0; id < TIMEKEEPERS_MAX; id++)
> + __ntp_clear(tk_ntp_data + id);
For consistency with the rest of the code:
__ntp_clear(&tk_ntp_data[id]);
> ntp_init_cmos_sync();
> }
>
Powered by blists - more mailing lists