From: kernel test robot <lkp@intel.com>
To: Heiko Stuebner <heiko@sntech.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Anup Patel <anup@brainfault.org>
Subject: [avpatel:virtio_rpmsg_bus_fix_v1 45/52] arch/riscv/kernel/setup.c:268: undefined reference to `riscv_tlbflush_init'
Date: Fri, 10 Jun 2022 13:17:13 +0800 [thread overview]
Message-ID: <202206101303.u6fcumYC-lkp@intel.com> (raw)
tree: https://github.com/avpatel/linux.git virtio_rpmsg_bus_fix_v1
head: 390aaf641ff2f8919268d611e864227265c3f3f2
commit: 3485f5450237db107c3601d2b726458fb98027a6 [45/52] riscv: Implement Zicbom-based cache management operations
config: riscv-randconfig-r025-20220608 (https://download.01.org/0day-ci/archive/20220610/202206101303.u6fcumYC-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/avpatel/linux/commit/3485f5450237db107c3601d2b726458fb98027a6
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel virtio_rpmsg_bus_fix_v1
git checkout 3485f5450237db107c3601d2b726458fb98027a6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
riscv64-linux-ld: arch/riscv/kernel/setup.o: in function `setup_arch':
>> arch/riscv/kernel/setup.c:268: undefined reference to `riscv_tlbflush_init'
--
>> arch/riscv/mm/dma-noncoherent.c:65:6: warning: no previous prototype for 'riscv_init_cbom_blocksize' [-Wmissing-prototypes]
65 | void riscv_init_cbom_blocksize(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +268 arch/riscv/kernel/setup.c
76d2a0493a17d4 Palmer Dabbelt 2017-07-10 264
76d2a0493a17d4 Palmer Dabbelt 2017-07-10 265 void __init setup_arch(char **cmdline_p)
76d2a0493a17d4 Palmer Dabbelt 2017-07-10 266 {
8f3a2b4a96dc01 Anup Patel 2020-09-17 267 parse_dtb();
723a42f4f6b2e0 Kefeng Wang 2021-07-07 @268 setup_initial_init_mm(_stext, _etext, _edata, _end);
76d2a0493a17d4 Palmer Dabbelt 2017-07-10 269
680f9b8e6c5641 Anup Patel 2019-01-07 270 *cmdline_p = boot_command_line;
680f9b8e6c5641 Anup Patel 2019-01-07 271
6262f661ff5d7d Atish Patra 2020-09-17 272 early_ioremap_setup();
6134b110f97178 Anup Patel 2020-11-06 273 jump_label_init();
680f9b8e6c5641 Anup Patel 2019-01-07 274 parse_early_param();
680f9b8e6c5641 Anup Patel 2019-01-07 275
b91540d52a08b6 Atish Patra 2020-09-17 276 efi_init();
76d2a0493a17d4 Palmer Dabbelt 2017-07-10 277 paging_init();
2d2682512f0faf Palmer Dabbelt 2020-04-14 278 #if IS_ENABLED(CONFIG_BUILTIN_DTB)
2d2682512f0faf Palmer Dabbelt 2020-04-14 279 unflatten_and_copy_device_tree();
2d2682512f0faf Palmer Dabbelt 2020-04-14 280 #else
44c922572952d8 Vitaly Wool 2021-04-13 281 if (early_init_dt_verify(__va(XIP_FIXUP(dtb_early_pa))))
76d2a0493a17d4 Palmer Dabbelt 2017-07-10 282 unflatten_device_tree();
8f3a2b4a96dc01 Anup Patel 2020-09-17 283 else
8f3a2b4a96dc01 Anup Patel 2020-09-17 284 pr_err("No DTB found in kernel mappings\n");
2d2682512f0faf Palmer Dabbelt 2020-04-14 285 #endif
cbd34f4bb37d62 Atish Patra 2020-11-18 286 misc_mem_init();
51858aaf9bea3d Zong Li 2018-10-02 287
e53d28180d4d0f Nick Kossifidis 2021-04-19 288 init_resources();
62149f3564c5a5 Atish Patra 2020-11-04 289 sbi_init();
62149f3564c5a5 Atish Patra 2020-11-04 290
:::::: The code at line 268 was first introduced by commit
:::::: 723a42f4f6b2e032910885d389c6d9bdb0ef6eeb riscv: convert to setup_initial_init_mm()
:::::: TO: Kefeng Wang <wangkefeng.wang@huawei.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-10 5:18 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=202206101303.u6fcumYC-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup@brainfault.org \
--cc=heiko@sntech.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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.