On Mon, Dec 09 2024 at 06:32, Sasha Levin wrote:
This is a note to let you know that I've just added the patch titled commit 57103d282a874ed716f489b7b336b8d833ba43b2 Author: Thomas Gleixner tglx@linutronix.de Date: Wed Sep 11 15:17:43 2024 +0200
ntp: Introduce struct ntp_data
[ Upstream commit 68f66f97c5689825012877f58df65964056d4b5d ] All NTP data is held in static variables. That prevents the NTP code from being reuasble for non-system time timekeepers, e.g. per PTP clock timekeeping. Introduce struct ntp_data and move tick_usec into it for a start. No functional change. Signed-off-by: Thomas Gleixner tglx@linutronix.de Signed-off-by: Anna-Maria Behnsen anna-maria@linutronix.de Signed-off-by: Thomas Gleixner tglx@linutronix.de Acked-by: John Stultz jstultz@google.com Link: https://lore.kernel.org/all/20240911-devel-anna-maria-b4-timers-ptp-ntp-v1-7... Stable-dep-of: f5807b0606da ("ntp: Remove invalid cast in time offset math")
I sent a backport of this change, which is a one liner:
https://lore.kernel.org/stable/878qssr16f.ffs@tglx/
There is no point to backport the whole data struct change series for that.
Thanks,
tglx
On Mon, Dec 09, 2024 at 01:12:13PM +0100, Thomas Gleixner wrote:
On Mon, Dec 09 2024 at 06:32, Sasha Levin wrote:
This is a note to let you know that I've just added the patch titled commit 57103d282a874ed716f489b7b336b8d833ba43b2 Author: Thomas Gleixner tglx@linutronix.de Date: Wed Sep 11 15:17:43 2024 +0200
ntp: Introduce struct ntp_data
[ Upstream commit 68f66f97c5689825012877f58df65964056d4b5d ] All NTP data is held in static variables. That prevents the NTP code from being reuasble for non-system time timekeepers, e.g. per PTP clock timekeeping. Introduce struct ntp_data and move tick_usec into it for a start. No functional change. Signed-off-by: Thomas Gleixner tglx@linutronix.de Signed-off-by: Anna-Maria Behnsen anna-maria@linutronix.de Signed-off-by: Thomas Gleixner tglx@linutronix.de Acked-by: John Stultz jstultz@google.com Link: https://lore.kernel.org/all/20240911-devel-anna-maria-b4-timers-ptp-ntp-v1-7... Stable-dep-of: f5807b0606da ("ntp: Remove invalid cast in time offset math")
I sent a backport of this change, which is a one liner:
https://lore.kernel.org/stable/878qssr16f.ffs@tglx/
There is no point to backport the whole data struct change series for that.
Yeah, I'll drop the series and just take your change, thanks!
greg k-h
linux-stable-mirror@lists.linaro.org