Content-Type: multipart/mixed; boundary="===============7411350754699714056==" MIME-Version: 1.0 From: Conor.Dooley@microchip.com To: kbuild-all@lists.01.org Subject: Re: [PATCH v8 3/4] pwm: add microchip soft ip corePWM driver Date: Wed, 17 Aug 2022 13:41:15 +0000 Message-ID: <9d0c3441-f79e-4e24-74aa-fb6c387c25c5@microchip.com> In-Reply-To: <202208172150.rEZ2HEYS-lkp@intel.com> List-Id: --===============7411350754699714056== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 17/08/2022 14:31, kernel test robot wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know th= e content is safe > = > Hi Conor, > = > I love your patch! Yet something to improve: > = > [auto build test ERROR on linus/master] > [also build test ERROR on v6.0-rc1] > [cannot apply to thierry-reding-pwm/for-next robh/for-next] > [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#_base_tree_information] > = > url: https://github.com/intel-lab-lkp/linux/commits/Conor-Dooley/Micro= chip-soft-ip-corePWM-driver/20220816-201744 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 > config: mips-allyesconfig (https://download.01.org/0day-ci/archive/202208= 17/202208172150.rEZ2HEYS-lkp(a)intel.com/config) > compiler: mips-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sb= in/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/961e375a245186c8= ec2c40e48e5baf40a112f14a > git remote add linux-review https://github.com/intel-lab-lkp/lin= ux > git fetch --no-tags linux-review Conor-Dooley/Microchip-soft-ip-= corePWM-driver/20220816-201744 > git checkout 961e375a245186c8ec2c40e48e5baf40a112f14a > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cr= oss W=3D1 O=3Dbuild_dir ARCH=3Dmips SHELL=3D/bin/bash > = > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > arch/mips/kernel/head.o: in function `kernel_entry': > (.ref.text+0xac): relocation truncated to fit: R_MIPS_26 against `sta= rt_kernel' > init/main.o: in function `set_reset_devices': > main.c:(.init.text+0x20): relocation truncated to fit: R_MIPS_26 agai= nst `_mcount' > main.c:(.init.text+0x30): relocation truncated to fit: R_MIPS_26 agai= nst `__sanitizer_cov_trace_pc' > init/main.o: in function `debug_kernel': > main.c:(.init.text+0xa4): relocation truncated to fit: R_MIPS_26 agai= nst `_mcount' > main.c:(.init.text+0xb4): relocation truncated to fit: R_MIPS_26 agai= nst `__sanitizer_cov_trace_pc' > init/main.o: in function `quiet_kernel': > main.c:(.init.text+0x128): relocation truncated to fit: R_MIPS_26 aga= inst `_mcount' > main.c:(.init.text+0x138): relocation truncated to fit: R_MIPS_26 aga= inst `__sanitizer_cov_trace_pc' > init/main.o: in function `warn_bootconfig': > main.c:(.init.text+0x1ac): relocation truncated to fit: R_MIPS_26 aga= inst `_mcount' > main.c:(.init.text+0x1bc): relocation truncated to fit: R_MIPS_26 aga= inst `__sanitizer_cov_trace_pc' > init/main.o: in function `init_setup': > main.c:(.init.text+0x234): relocation truncated to fit: R_MIPS_26 aga= inst `_mcount' > main.c:(.init.text+0x254): additional relocation overflows omitted fr= om the output > mips-linux-ld: drivers/pwm/pwm-microchip-core.o: in function `mchp_co= re_pwm_enable': >>> pwm-microchip-core.c:(.text.mchp_core_pwm_enable+0x1cc): undefined refe= rence to `__udivdi3' Ah god, not this again... I assume it's "sleep_range(period / 1000, period / 1000 * 2);" I'll take a look & send v9 later in the week. Thanks, Conor. --===============7411350754699714056==--