Skip to contentSkip to conversation

Patch "ntp: Introduce struct ntp_data" has been added to the 6.1-stable tree

DISCUSSION Thomas Gleixner 2 participants 2 messages Dec 9, 2024 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 15 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled commit 57103d282a874ed716f489b7b336b8d833ba43b2

Author: Thomas Gleixner <[email protected]>
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.

Quoted 8 lines

No functional change.

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

#2 lore raw
Quoted 25 lines · Thomas Gleixner
Quoted 15 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled commit 57103d282a874ed716f489b7b336b8d833ba43b2

Author: Thomas Gleixner <[email protected]>
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.

Quoted 8 lines

No functional change.

Stable-dep-of: f5807b0606da ("ntp: Remove invalid cast in time offset math")

Quoted 6 lines

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