lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202206101303.u6fcumYC-lkp@intel.com>
Date:   Fri, 10 Jun 2022 13:17:13 +0800
From:   kernel test robot <lkp@...el.com>
To:     Heiko Stuebner <heiko@...ech.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Anup Patel <anup@...infault.org>
Subject: [avpatel:virtio_rpmsg_bus_fix_v1 45/52]
 arch/riscv/kernel/setup.c:268: undefined reference to `riscv_tlbflush_init'

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@...el.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@...wei.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ