All of lore.kernel.org
 help / color / mirror / Atom feed
* [sj:damon/next 106/145] mm/damon/core.c:3434:(.text.damon_set_region_system_rams_default+0x138): undefined reference to `__udivdi3'
@ 2026-02-25  8:41 kernel test robot
  2026-02-25 15:54 ` SeongJae Park
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-02-25  8:41 UTC (permalink / raw)
  To: SeongJae Park; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
head:   2f2b1e72c03fda4cb12c7027c47840d955d77820
commit: 38a56aedfeccddd0f844633d1b4c55e2e12c4258 [106/145] mm/damon/lru_sort: cover all system rams
config: powerpc-randconfig-001-20260225 (https://download.01.org/0day-ci/archive/20260225/202602251636.PpfZGJU3-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260225/202602251636.PpfZGJU3-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/202602251636.PpfZGJU3-lkp@intel.com/

All errors (new ones prefixed by >>):

   powerpc-linux-ld: mm/damon/core.o: in function `damon_find_system_ram_range':
>> mm/damon/core.c:3434:(.text.damon_set_region_system_rams_default+0x138): undefined reference to `__udivdi3'
>> powerpc-linux-ld: mm/damon/core.c:3435:(.text.damon_set_region_system_rams_default+0x164): undefined reference to `__udivdi3'


vim +3434 mm/damon/core.c

39d332af1ac7f3 SeongJae Park 2026-02-04  3425  
39d332af1ac7f3 SeongJae Park 2026-02-04  3426  static bool damon_find_system_ram_range(unsigned long *start,
39d332af1ac7f3 SeongJae Park 2026-02-04  3427  		unsigned long *end, unsigned long addr_unit)
39d332af1ac7f3 SeongJae Park 2026-02-04  3428  {
39d332af1ac7f3 SeongJae Park 2026-02-04  3429  	struct damon_system_ram_range_walk_arg arg = {};
39d332af1ac7f3 SeongJae Park 2026-02-04  3430  
39d332af1ac7f3 SeongJae Park 2026-02-04  3431  	walk_system_ram_res(0, -1, &arg, damon_system_ram_walk_fn);
39d332af1ac7f3 SeongJae Park 2026-02-04  3432  	if (!arg.walked)
39d332af1ac7f3 SeongJae Park 2026-02-04  3433  		return false;
39d332af1ac7f3 SeongJae Park 2026-02-04 @3434  	*start = arg.res.start / addr_unit;
39d332af1ac7f3 SeongJae Park 2026-02-04 @3435  	*end = (arg.res.end + 1) / addr_unit;
39d332af1ac7f3 SeongJae Park 2026-02-04  3436  	return true;
39d332af1ac7f3 SeongJae Park 2026-02-04  3437  }
39d332af1ac7f3 SeongJae Park 2026-02-04  3438  

:::::: The code at line 3434 was first introduced by commit
:::::: 39d332af1ac7f38c3fee619718fa283995e6667c mm/damon/core: implement a function for setting all system rams as the target region

:::::: TO: SeongJae Park <sj@kernel.org>
:::::: CC: SeongJae Park <sj@kernel.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sj:damon/next 106/145] mm/damon/core.c:3434:(.text.damon_set_region_system_rams_default+0x138): undefined reference to `__udivdi3'
  2026-02-25  8:41 [sj:damon/next 106/145] mm/damon/core.c:3434:(.text.damon_set_region_system_rams_default+0x138): undefined reference to `__udivdi3' kernel test robot
@ 2026-02-25 15:54 ` SeongJae Park
  0 siblings, 0 replies; 2+ messages in thread
From: SeongJae Park @ 2026-02-25 15:54 UTC (permalink / raw)
  To: kernel test robot; +Cc: SeongJae Park, oe-kbuild-all, damon

On Wed, 25 Feb 2026 16:41:28 +0800 kernel test robot <lkp@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
> head:   2f2b1e72c03fda4cb12c7027c47840d955d77820
> commit: 38a56aedfeccddd0f844633d1b4c55e2e12c4258 [106/145] mm/damon/lru_sort: cover all system rams
> config: powerpc-randconfig-001-20260225 (https://download.01.org/0day-ci/archive/20260225/202602251636.PpfZGJU3-lkp@intel.com/config)
> compiler: powerpc-linux-gcc (GCC) 12.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260225/202602251636.PpfZGJU3-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/202602251636.PpfZGJU3-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>    powerpc-linux-ld: mm/damon/core.o: in function `damon_find_system_ram_range':
> >> mm/damon/core.c:3434:(.text.damon_set_region_system_rams_default+0x138): undefined reference to `__udivdi3'
> >> powerpc-linux-ld: mm/damon/core.c:3435:(.text.damon_set_region_system_rams_default+0x164): undefined reference to `__udivdi3'

Thank you for this report!  I just pushed a fix to damon/next.  I'm currently
in travel with limited testing environment, so I was unable to reproduce the
issue, though.  Please let me know if the issue is not yet fixed and bother
you by any chance!


Thanks,
SJ

[...]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-25 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25  8:41 [sj:damon/next 106/145] mm/damon/core.c:3434:(.text.damon_set_region_system_rams_default+0x138): undefined reference to `__udivdi3' kernel test robot
2026-02-25 15:54 ` SeongJae Park

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.