# Re: \[patch 18/24\] timekeeping: Prepare for cross timestamps on arbitrary clock IDs

- From: Thomas Weißschuh \<hidden\>
- Date: 2026-05-27 07:23:10 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/05/17034928
- Thread: https://ratatoskr.run/kvmarm/2026/05/17032577/t.md

```text
On Tue, May 26, 2026 at 07:14:57PM +0200, Thomas Gleixner wrote:
> 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>

Reviewed-by: Thomas Weißschuh <redacted>
```
