All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <thomas.weissschuh@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/auxclock-nanosleep 79/96] kernel/time/hrtimer.c:2247:undefined reference to `HRTIMER_BASE_AUX0'
Date: Wed, 15 Jul 2026 20:33:33 +0200	[thread overview]
Message-ID: <202607152003.P1bFkNGl-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/auxclock-nanosleep
head:   aae9c6fcfe1b60e4a63da0fe64f8ffe470b0fa29
commit: 69bfefa1c9bf52492df144e6ad0daf86f82a3727 [79/96] DELETEME
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260715/202607152003.P1bFkNGl-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260715/202607152003.P1bFkNGl-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607152003.P1bFkNGl-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: vmlinux.o: in function `hrtimers_disable_clock':
>> kernel/time/hrtimer.c:2247:(.text+0x30fb3a): undefined reference to `HRTIMER_BASE_AUX0'
>> ld: kernel/time/hrtimer.c:2247:(.text+0x30fb4c): undefined reference to `HRTIMER_BASE_AUX0'


vim +2247 kernel/time/hrtimer.c

21d6d52a1b7028 Thomas Gleixner  2015-04-14  2241  
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2242  #ifdef CONFIG_HRTIMER_ABORT
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2243  void hrtimers_disable_clock(clockid_t clock)
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2244  {
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2245  	lockdep_assert(clockid_aux_valid(clock));
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2246  
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 @2247  	unsigned int base_index = BIT(HRTIMER_BASE_AUX0 + clock - CLOCK_AUX);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2248  	unsigned int base_index_soft = base_index << HRTIMER_BASE_MONOTONIC_SOFT;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2249  	unsigned long flags;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2250  	int cpu;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2251  
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2252  	guard(cpus_read_lock)();
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2253  
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2254  	for_each_online_cpu(cpu) {
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2255  		struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2256  		ktime_t now;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2257  
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2258  		raw_spin_lock_irqsave(&cpu_base->lock, flags);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2259  		now = hrtimer_update_base(cpu_base);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2260  		__hrtimer_run_queues(cpu_base, now, flags, base_index | base_index_soft);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2261  		raw_spin_unlock_irqrestore(&cpu_base->lock, flags);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2262  	}
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2263  }
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2264  #endif
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15  2265  

:::::: The code at line 2247 was first introduced by commit
:::::: 10fa80a2a4c8adf160a971f21e99fb6525581374 CONFIG_HRTIMER_ABORT

:::::: TO: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
:::::: CC: Thomas Weißschuh <thomas.weissschuh@linutronix.de>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-07-15 18:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202607152003.P1bFkNGl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=thomas.weissschuh@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.