[patch V2 0/3] ptp: Provide support for auxiliary clocks for PTP_SYS_OFFSET_EXTENDED

From: Thomas Gleixner
Date: Tue Jul 01 2025 - 09:31:22 EST


This is a follow up to the V1 series, which can be found here:

https://lore.kernel.org/all/20250626124327.667087805@xxxxxxxxxxxxx

to address the merge logistics problem, which I created myself.

Changes vs. V1:

- Make patch 1, which provides the timestamping function temporarily
define CLOCK_AUX* if undefined so that it can be merged independently,

- Add a missing check for CONFIG_POSIX_AUX_CLOCK in the PTP IOCTL

- Picked up tags

Merge logistics if agreed on:

1) Patch #1 is applied to the tip tree on top of plain v6.16-rc1 and
tagged

2) That tag is merged into tip:timers/ptp and the temporary CLOCK_AUX
define is removed in a subsequent commit

3) Network folks merge the tag and apply patches #2 + #3

So the only fallout from this are the extra merges in both trees and the
cleanup commit in the tip tree. But that way there are no dependencies and
no duplicate commits with different SHAs.

Thoughts?

Due to the above constraints there is no branch offered to pull from right
now. Sorry for the inconveniance. Should have thought about that earlier.

Thanks,

tglx
---
drivers/ptp/ptp_chardev.c | 24 +++++++++++++++++++-----
include/linux/ptp_clock_kernel.h | 34 ++++------------------------------
include/linux/timekeeping.h | 10 ++++++++++
kernel/time/timekeeping.c | 33 +++++++++++++++++++++++++++++++++
4 files changed, 66 insertions(+), 35 deletions(-)