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
Also in
kvmarm, linux-sound, linux-wireless, lkml, netdev
Reply to
Thomas Gleixner, 2026-05-26
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

Thread (86 messages) 86 messages, 9 authors, last reply 2026-07-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help