All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Anup Patel <apatel@ventanamicro.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 21/41] include/linux/cpuhotplug.h:287: undefined reference to `ipi_mux_create'
Date: Tue, 6 Sep 2022 07:27:04 +0800	[thread overview]
Message-ID: <202209060754.NTMLgEr3-lkp@intel.com> (raw)

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@intel.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@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

                 reply	other threads:[~2022-09-05 23:28 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=202209060754.NTMLgEr3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=apatel@ventanamicro.com \
    --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.