lkml.org 
[lkml]   [2023]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpmem.c:undefined reference to `noncoherent_cache_ops'
Hi Christoph,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 888cf78c29e223fd808682f477c18cf8f61ad995
commit: fd962781270e6452dd5b30c8aa0b3b0fbee06244 riscv: RISCV_NONSTANDARD_CACHE_OPS shouldn't depend on RISCV_DMA_NONCOHERENT
date: 2 days ago
config: riscv-randconfig-001-20231028 (https://download.01.org/0day-ci/archive/20231028/202310280552.Yiukmvy2-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231028/202310280552.Yiukmvy2-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/202310280552.Yiukmvy2-lkp@intel.com/

All errors (new ones prefixed by >>):

riscv64-linux-ld: arch/riscv/mm/pmem.o: in function `arch_wb_cache_pmem':
>> pmem.c:(.text+0x0): undefined reference to `noncoherent_cache_ops'
riscv64-linux-ld: arch/riscv/mm/pmem.o: in function `arch_invalidate_pmem':
pmem.c:(.text+0x9c): undefined reference to `noncoherent_cache_ops'
riscv64-linux-ld: drivers/cache/ax45mp_cache.o: in function `.L8':
>> ax45mp_cache.c:(.init.text+0x104): undefined reference to `riscv_noncoherent_register_cache_ops'

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

\
 
 \ /
  Last update: 2023-10-28 00:09    [W:0.030 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site