# Re: \[PATCH 11/24\] timekeeping: Add CLOCK ID to system\_device\_crosststamp

- From: David Woodhouse \<dwmw2@infradead.org\>
- Date: 2026-05-26 23:46:23 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/05/17033766
- Thread: https://ratatoskr.run/kvmarm/2026/05/17032577/t.md

```text
On Tue, 26 May 2026 19:14:23 +0200, Thomas Gleixner wrote:
> The normal capture for system/device cross timestamps is CLOCK_REALTIME,
> but that's meaningless for AUX clocks.
>
> Add a clock_id field to struct system_device_crosststamp and initialize it
> with CLOCK_REALTIME at the two places which prepare for cross
> timestamps.
>
> After the related code has been cleaned up, the core code will honor the
> clock_id field when calculating the system time from the system counter
> snapshot.
>
> No functional change.
>
> Signed-off-by: Thomas Gleixner <tglx@kernel.org>

Reviewed-by: David Woodhouse <redacted>
Tested-by: David Woodhouse <redacted>

```

## Attachments

- [smime.p7s](https://ratatoskr.run/netdev/2026/05/17033766/attachment/0) (application/pkcs7-signature, 5069 bytes)
