Re: linux-next: build failure after merge of the tip-fixes tree

Thomas Gleixner
2026-04-08T15:21:33Z

On Wed, Apr 08 2026 at 13:44, Mark Brown wrote:

It's a boot not a build fail, right?

> After merging the tip-fixes tree, today's linux-next build (arm64 kunit)
> failed like this:
> which isn't super helpful. I haven't isolated which commit but it'll be
> one of the three:
>
> b81207470caf ("clockevents: Prevent timer interrupt starvation")
> 82b915051d32 ("tick/nohz: Fix inverted return value in check_tick_dependency() fast path")
> 105c42566a55 ("ata: ahci: force 32-bit DMA for JMicron JMB582/JMB585")

Found it with qemu and pushed out an updated version. Delta patch
below. It restores the behaviour for !force and delta <= 0 which is
required under certain circumstances to get through the tick_periodic()
boot stage.

Thanks,

tglx
---
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -324,6 +324,8 @@ int clockevents_program_event(struct clo
return dev->set_next_ktime(expires, dev);

delta = ktime_to_ns(ktime_sub(expires, ktime_get()));
+ if (delta <= 0 && !force)
+ return -ETIME;

if (delta > (int64_t)dev->min_delta_ns) {
delta = min(delta, (int64_t) dev->max_delta_ns);