Content-Type: multipart/mixed; boundary="===============8161889023326530217==" MIME-Version: 1.0 From: Qu Wenruo To: kbuild-all@lists.01.org Subject: Re: [PATCH 06/12] btrfs: write-intent: introduce an internal helper to set bits for a range. Date: Fri, 08 Jul 2022 10:22:28 +0800 Message-ID: <5d95e738-2e80-ee5f-58fd-1ebb45cd5ae2@gmx.com> In-Reply-To: <202207080925.VUcOcv89-lkp@intel.com> List-Id: --===============8161889023326530217== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 2022/7/8 09:55, kernel test robot wrote: > Hi Qu, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on kdave/for-next] > [also build test ERROR on next-20220707] > [cannot apply to linus/master v5.19-rc5] > [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/Qu-Wenruo/btrfs-in= troduce-write-intent-bitmaps-for-RAID56/20220707-133435 > base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git f= or-next > config: mips-allyesconfig (https://download.01.org/0day-ci/archive/202207= 08/202207080925.VUcOcv89-lkp(a)intel.com/config) > compiler: mips-linux-gcc (GCC) 11.3.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/2b051857a66f0310= 589455c06f962908016b5f9b > git remote add linux-review https://github.com/intel-lab-lkp/lin= ux > git fetch --no-tags linux-review Qu-Wenruo/btrfs-introduce-write= -intent-bitmaps-for-RAID56/20220707-133435 > git checkout 2b051857a66f0310589455c06f962908016b5f9b > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.3.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+0x238): relocation truncated to fit: R_MIPS_26 aga= inst `_mcount' > main.c:(.init.text+0x258): additional relocation overflows omitted fr= om the output > mips-linux-ld: fs/btrfs/write-intent.o: in function `set_bits_in_one_= entry': >>> write-intent.c:(.text.set_bits_in_one_entry+0x1ec): undefined reference= to `__udivdi3' >>> mips-linux-ld: write-intent.c:(.text.set_bits_in_one_entry+0x2b0): unde= fined reference to `__udivdi3' > mips-linux-ld: fs/btrfs/write-intent.o: in function `insert_new_entri= es': Thanks for the report, it looks like there are still u64/u32 cases used in bitmap_clear()/bitmap_set(). In fact, that two locations can go with u32 for the dividend. Anyway, I'd go the regular blocksize_bits way instead in the next update. THanks, Qu >>> write-intent.c:(.text.insert_new_entries+0x294): undefined reference to= `__udivdi3' > --===============8161889023326530217==--