diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-05-29 22:01:00 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-04 11:04:17 +0200 |
| commit | 09fb74f77e02489d1d8c555d44bab99d4905127c (patch) | |
| tree | 5565d34bc530458afbb9068c1781bf454826b3de /drivers/phy/apple/git@git.tavy.me:linux.git | |
| parent | b21d442c9aebe5ed95303883d3365e430e134cf1 (diff) | |
timekeeping: Prepare for cross timestamps on arbitrary clock IDs
PTP device system crosstime stamps support only CLOCK_REALTIME, which is
meaningless for AUX clocks. The PTP core hands in the clock ID already, so
prepare the core code to honor it.
- Add a new sys_systime field to struct system_device_crosststamp which
aliases the sys_realtime field. Once all users are converted
sys_realtime can be removed.
- Prepare get_device_system_crosststamp() and the related code for it by
switching to sys_systime and providing the initial changes to utilize
different time keepers.
No functional change intended.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: David Woodhouse <dwmw@amazon.co.uk>
Tested-by: Arthur Kiyanovski <akiyano@amazon.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260529195557.846634842@kernel.org
Diffstat (limited to 'drivers/phy/apple/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
