All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 10349/13479] kernel/trace/rv/monitors/nomiss/nomiss_kunit.c:11: undefined reference to `__udivdi3'
@ 2026-08-07  2:01 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-07  2:01 UTC (permalink / raw)
  To: Gabriele Monaco; +Cc: oe-kbuild-all, Nam Cao

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ea2bff00da89d7767d677bb68470130ba96f4928
commit: 8da2a88383658dac97769ed8f807ef6100a69480 [10349/13479] rv: Add KUnit tests for some DA/HA monitors
config: xtensa-randconfig-001-20260807 (https://download.01.org/0day-ci/archive/20260807/202608070948.U43eR84W-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260807/202608070948.U43eR84W-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/202608070948.U43eR84W-lkp@intel.com/

All errors (new ones prefixed by >>):

   xtensa-linux-ld: kernel/trace/rv/rv_monitors_test.o: in function `rv_kunit_alloc_mock_task':
>> kernel/trace/rv/monitors/nomiss/nomiss_kunit.c:11: undefined reference to `__udivdi3'
   xtensa-linux-ld: kernel/trace/rv/rv_monitors_test.o: in function `rv_test_nomiss':
   kernel/trace/rv/monitors/nomiss/nomiss_kunit.c:31: undefined reference to `__udivdi3'


vim +11 kernel/trace/rv/monitors/nomiss/nomiss_kunit.c

     9	
    10	static void rv_test_nomiss(struct kunit *test)
  > 11	{
    12		struct task_struct *target = rv_kunit_alloc_mock_task(test);
    13		struct task_struct *other = rv_kunit_alloc_mock_task(test);
    14		struct rv_kunit_ctx *ctx = test->priv;
    15	
    16		prepare_test(test, &rv_nomiss_ops.mon);
    17	
    18		target->pid = 99;
    19		target->policy = SCHED_DEADLINE;
    20		target->dl.runtime = 10000;
    21		target->dl.dl_deadline = 20000;
    22	
    23		rv_nomiss_ops.handle_newtask(NULL, target, 0);
    24	
    25		/* Task gets preempted and can't terminate before deadline */
    26		rv_nomiss_ops.handle_sched_switch(NULL, 0, other, target, TASK_RUNNING);
    27		rv_nomiss_ops.handle_dl_replenish(NULL, &target->dl, 0, DL_TASK);
    28		udelay(10);
    29		rv_nomiss_ops.handle_sched_switch(NULL, 0, target, other, TASK_RUNNING);
    30		RV_KUNIT_EXPECT_REACTION_HERE(test, ctx) {
    31			udelay(15 + *rv_nomiss_ops.deadline_thresh / 1000);
    32			rv_nomiss_ops.handle_sched_switch(NULL, 0, other, target, TASK_RUNNING);
    33		}
    34	}
    35	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07  2:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-07  2:01 [linux-next:master 10349/13479] kernel/trace/rv/monitors/nomiss/nomiss_kunit.c:11: undefined reference to `__udivdi3' kernel test robot

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.