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: <202209060754.NTMLgEr3-lkp@intel.com>
Date:   Tue, 6 Sep 2022 07:27:04 +0800
From:   kernel test robot <lkp@...el.com>
To:     Anup Patel <apatel@...tanamicro.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 21/41] include/linux/cpuhotplug.h:287:
 undefined reference to `ipi_mux_create'

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   98a7169ff2516ac22eecb21f2267097400d67ea9
commit: 7a7eae3dbc24b9a2169dc19a742f0e6da65fe69b [21/41] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-randconfig-c003-20220905 (https://download.01.org/0day-ci/archive/20220906/202209060754.NTMLgEr3-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 12.1.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/7a7eae3dbc24b9a2169dc19a742f0e6da65fe69b
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_kvm_aia_v1
        git checkout 7a7eae3dbc24b9a2169dc19a742f0e6da65fe69b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.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 errors (new ones prefixed by >>):

   riscv64-linux-ld: drivers/clocksource/timer-clint.o: in function `cpuhp_setup_state':
>> include/linux/cpuhotplug.h:287: undefined reference to `ipi_mux_create'


vim +287 include/linux/cpuhotplug.h

cff7d378d3fdbb Thomas Gleixner           2016-02-26  261  
5b7aa87e0482be Thomas Gleixner           2016-02-26  262  int __cpuhp_setup_state(enum cpuhp_state state,	const char *name, bool invoke,
5b7aa87e0482be Thomas Gleixner           2016-02-26  263  			int (*startup)(unsigned int cpu),
cf392d10b69e6e Thomas Gleixner           2016-08-12  264  			int (*teardown)(unsigned int cpu), bool multi_instance);
5b7aa87e0482be Thomas Gleixner           2016-02-26  265  
71def423fe3da0 Sebastian Andrzej Siewior 2017-05-24  266  int __cpuhp_setup_state_cpuslocked(enum cpuhp_state state, const char *name,
71def423fe3da0 Sebastian Andrzej Siewior 2017-05-24  267  				   bool invoke,
71def423fe3da0 Sebastian Andrzej Siewior 2017-05-24  268  				   int (*startup)(unsigned int cpu),
71def423fe3da0 Sebastian Andrzej Siewior 2017-05-24  269  				   int (*teardown)(unsigned int cpu),
71def423fe3da0 Sebastian Andrzej Siewior 2017-05-24  270  				   bool multi_instance);
5b7aa87e0482be Thomas Gleixner           2016-02-26  271  /**
c9871c800f65ff Thomas Gleixner           2021-09-09  272   * cpuhp_setup_state - Setup hotplug state callbacks with calling the @startup
c9871c800f65ff Thomas Gleixner           2021-09-09  273   *                     callback
5b7aa87e0482be Thomas Gleixner           2016-02-26  274   * @state:	The state for which the calls are installed
5b7aa87e0482be Thomas Gleixner           2016-02-26  275   * @name:	Name of the callback (will be used in debug output)
c9871c800f65ff Thomas Gleixner           2021-09-09  276   * @startup:	startup callback function or NULL if not required
c9871c800f65ff Thomas Gleixner           2021-09-09  277   * @teardown:	teardown callback function or NULL if not required
5b7aa87e0482be Thomas Gleixner           2016-02-26  278   *
c9871c800f65ff Thomas Gleixner           2021-09-09  279   * Installs the callback functions and invokes the @startup callback on
c9871c800f65ff Thomas Gleixner           2021-09-09  280   * the online cpus which have already reached the @state.
5b7aa87e0482be Thomas Gleixner           2016-02-26  281   */
5b7aa87e0482be Thomas Gleixner           2016-02-26  282  static inline int cpuhp_setup_state(enum cpuhp_state state,
5b7aa87e0482be Thomas Gleixner           2016-02-26  283  				    const char *name,
5b7aa87e0482be Thomas Gleixner           2016-02-26  284  				    int (*startup)(unsigned int cpu),
5b7aa87e0482be Thomas Gleixner           2016-02-26  285  				    int (*teardown)(unsigned int cpu))
5b7aa87e0482be Thomas Gleixner           2016-02-26  286  {
cf392d10b69e6e Thomas Gleixner           2016-08-12 @287  	return __cpuhp_setup_state(state, name, true, startup, teardown, false);
5b7aa87e0482be Thomas Gleixner           2016-02-26  288  }
5b7aa87e0482be Thomas Gleixner           2016-02-26  289  

:::::: The code at line 287 was first introduced by commit
:::::: cf392d10b69e6e6c57ceea48b347a2ab1a4b75b2 cpu/hotplug: Add multi instance support

:::::: TO: Thomas Gleixner <tglx@...utronix.de>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ