From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1656406637937166332==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH V4 2/2] riscv: add RISC-V Svpbmt extension supports Date: Mon, 29 Nov 2021 12:17:32 +0800 Message-ID: <202111291239.amHhKURM-lkp@intel.com> In-Reply-To: <20211129014007.286478-3-wefu@redhat.com> List-Id: --===============1656406637937166332== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on linus/master hch-configfs/for-next v5.16-rc3 ne= xt-20211126] [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/wefu-redhat-com/riscv-add-= RISC-V-Svpbmt-Standard-Extension-supports/20211129-094324 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-= next config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/2021112= 9/202111291239.amHhKURM-lkp(a)intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/b5b3142cd92db4be84159d03f= 650cf8e3ec00fda git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review wefu-redhat-com/riscv-add-RISC-V-S= vpbmt-Standard-Extension-supports/20211129-094324 git checkout b5b3142cd92db4be84159d03f650cf8e3ec00fda # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Driscv SHELL=3D/bin/bash arch/riscv/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/riscv/mm/init.c:859:8: warning: ignoring attribute 'section (".data= ..ro_after_init")' because it conflicts with previous 'section (".data..cac= heline_aligned")' [-Wattributes] 859 | struct __svpbmt_struct __svpbmt __ro_after_init; | ^~~~~~~~~~~~~~~ In file included from arch/riscv/include/asm/pgtable.h:12, from include/linux/pgtable.h:6, from include/linux/mm.h:33, from arch/riscv/mm/init.c:10: arch/riscv/include/asm/pgtable-bits.h:48:3: note: previous declaration h= ere 48 | } __svpbmt __cacheline_aligned; | ^~~~~~~~ vim +859 arch/riscv/mm/init.c 857 = 858 #if defined(CONFIG_64BIT) > 859 struct __svpbmt_struct __svpbmt __ro_after_init; --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1656406637937166332==--