[PATCHv3 4/4] arm64: Enable perf events based hard lockup detector

kernel test robot lkp at intel.com
Mon Oct 25 22:10:44 PDT 2021


Hi Pingfan,

I love your patch! Yet something to improve:

[auto build test ERROR on soc/for-next]
[also build test ERROR on kvmarm/next linus/master v5.15-rc7]
[cannot apply to arm64/for-next/core arm/for-next xilinx-xlnx/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Pingfan-Liu/watchdog_hld-cleanup-and-async-model-for-arm64/20211014-104443
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
config: arm64-randconfig-p001-20211016 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/4c319c41e49036be58068395965bd33a5de02396
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Pingfan-Liu/watchdog_hld-cleanup-and-async-model-for-arm64/20211014-104443
        git checkout 4c319c41e49036be58068395965bd33a5de02396
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: arch/arm64/kernel/perf_event.o: in function `armv8_pmu_driver_init':
>> perf_event.c:(.init.text+0x20): undefined reference to `detector_delay_init_state'
   aarch64-linux-ld: arch/arm64/kernel/perf_event.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `detector_delay_init_state' which may bind externally can not be used when making a shared object; recompile with -fPIC
   perf_event.c:(.init.text+0x20): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: perf_event.c:(.init.text+0x30): undefined reference to `detector_delay_init_state'
>> aarch64-linux-ld: perf_event.c:(.init.text+0x34): undefined reference to `hld_detector_wait'
   aarch64-linux-ld: arch/arm64/kernel/perf_event.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `hld_detector_wait' which may bind externally can not be used when making a shared object; recompile with -fPIC
   perf_event.c:(.init.text+0x34): dangerous relocation: unsupported relocation
   aarch64-linux-ld: perf_event.c:(.init.text+0x3c): undefined reference to `hld_detector_wait'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 41668 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211026/91bae23b/attachment-0001.gz>


More information about the linux-arm-kernel mailing list