Files
linux/kernel
Avi Weiss 67f1969e29 timekeeping: Reject cross timestamps for invalid AUX clocks
get_device_system_crosststamp() accepts AUX clock IDs even when the
corresponding timekeeper is disabled. A never-enabled AUX timekeeper
has no initialized clocksource, and a previously enabled one can
retain stale timekeeping data.

Return -ENODEV before calling the device timestamp callback when the
selected timekeeper is invalid.

Fixes: 9aebde8af6 ("timekeeping: Add support for AUX clock cross timestamping")
Signed-off-by: Avi Weiss <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://patch.msgid.link/[email protected]
2026-11-09 20:15:58 +01:00
..
…
…
2026-09-28 08:44:41 +02:00
…
…
…
…
…
2026-10-12 11:13:01 +02:00
…
…
…
…
2026-10-24 00:46:49 -07:00
…
…
2026-09-04 12:46:45 +02:00