[GIT PULL] timer fixes

From: Ingo Molnar
Date: Sun Apr 14 2024 - 04:42:15 EST


Linus,

Please pull the latest timers/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2024-04-14

# HEAD: 16767502aa990cca2cb7d1372b31d328c4c85b40 selftests: kselftest: Fix build failure with NOLIBC

Misc timer fixes:

- Address a (valid) W=1 build warning

- Fix timer self-tests

- Annotate a KCSAN warning wrt. accesses to the
tick_do_timer_cpu global variable.

- Address a !CONFIG_BUG build warning

Heads up for the !CONFIG_BUG warning patch, which we
addressed with:

5284984a4fba bug: Fix no-return-statement warning with !CONFIG_BUG

Not everyone agreed though, see:

https://lore.kernel.org/all/20240410153212.127477-1-adrian.hunter@xxxxxxxxx

Thanks,

Ingo

------------------>
Adrian Hunter (1):
bug: Fix no-return-statement warning with !CONFIG_BUG

Arnd Bergmann (1):
irqflags: Explicitly ignore lockdep_hrtimer_exit() argument

John Stultz (3):
selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior
selftests: timers: Fix posix_timers ksft_print_msg() warning
selftests: timers: Fix abs() warning in posix_timers test

Nathan Chancellor (1):
selftests: kselftest: Mark functions that unconditionally call exit() as __noreturn

Oleg Nesterov (2):
selftests/timers/posix_timers: Reimplement check_timer_distribution()
selftests: kselftest: Fix build failure with NOLIBC

Thomas Gleixner (1):
timekeeping: Use READ/WRITE_ONCE() for tick_do_timer_cpu


include/asm-generic/bug.h | 5 +-
include/linux/irqflags.h | 2 +-
kernel/time/tick-common.c | 17 ++--
kernel/time/tick-sched.c | 36 ++++----
tools/testing/selftests/kselftest.h | 33 ++++++--
tools/testing/selftests/timers/posix_timers.c | 105 +++++++++++-------------
tools/testing/selftests/timers/valid-adjtimex.c | 73 ++++++++--------
7 files changed, 147 insertions(+), 124 deletions(-)