]> www.infradead.org Git - users/jedix/linux-maple.git/commit
timekeeping: Remove CONFIG_DEBUG_TIMEKEEPING
authorThomas Gleixner <tglx@linutronix.de>
Thu, 31 Oct 2024 12:04:07 +0000 (13:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 Nov 2024 09:14:31 +0000 (10:14 +0100)
commitd44d26987bb3df6d76556827097fc9ce17565cb8
treeaaa63e3eaad5a63592fbd887111390ae3ad24045
parent1d4199cbbe95efaba51304cfd844bd0ccd224e61
timekeeping: Remove CONFIG_DEBUG_TIMEKEEPING

Since 135225a363ae timekeeping_cycles_to_ns() handles large offsets which
would lead to 64bit multiplication overflows correctly. It's also protected
against negative motion of the clocksource unconditionally, which was
exclusive to x86 before.

timekeeping_advance() handles large offsets already correctly.

That means the value of CONFIG_DEBUG_TIMEKEEPING which analyzed these cases
is very close to zero. Remove all of it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <jstultz@google.com>
Link: https://lore.kernel.org/all/20241031120328.536010148@linutronix.de
arch/riscv/configs/defconfig
include/linux/timekeeper_internal.h
kernel/time/timekeeping.c
lib/Kconfig.debug
tools/testing/selftests/wireguard/qemu/debug.config