Re: [PATCH v5 2/3] clocksource: Rewrite Xilinx AXI timer driver

From: kernel test robot
Date: Tue Jul 20 2021 - 17:42:00 EST

Hi Sean,

I love your patch! Perhaps something to improve:

[auto build test WARNING on tip/timers/core]
[also build test WARNING on pwm/for-next linus/master v5.14-rc2 next-20210720]
[cannot apply to 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]

base: 2d0a9eb23ccfdf11308bec6db0bc007585d919d2
config: microblaze-randconfig-r003-20210720 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add linux-review
git fetch --no-tags linux-review Sean-Anderson/dt-bindings-pwm-Add-Xilinx-AXI-Timer/20210720-144903
git checkout 94fdaff6f9a931388dfbeecb76ea7b50eaa06711
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.text.unlikely+0x530e8): Section mismatch in reference from the function xilinx_clocksource_init() to the function .init.text:sched_clock_register()
The function xilinx_clocksource_init() references
the function __init sched_clock_register().
This is often because xilinx_clocksource_init lacks a __init
annotation or the annotation of sched_clock_register is wrong.

The below error/warnings are from parent commit:
<< WARNING: modpost: vmlinux.o(.text+0xc650): Section mismatch in reference from the function pcibios_allocate_bus_resources() to the function .init.text:reparent_resources()
<< WARNING: modpost: vmlinux.o(.text.unlikely+0x1698): Section mismatch in reference from the function mm_cmdline_setup() to the variable

0-DAY CI Kernel Test Service, Intel Corporation

Attachment: .config.gz
Description: application/gzip