diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-31 14:22:17 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-11-09 20:15:58 +0100 |
| commit | 67f1969e29b692ab3cfcc97ba175b9109212de00 (patch) | |
| tree | cd0b3e796f807d1dbe954b73c1bc5ec467d49036 /tools/perf/scripts/python | |
| parent | c49b3c20a2d0b22700e2100a527e68e829ece7f0 (diff) | |
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: 9aebde8af6fe ("timekeeping: Add support for AUX clock cross timestamping")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20261031122218.118921-1-thnkslprpt@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
