From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7089910274217207905==" MIME-Version: 1.0 From: Rong Chen To: kbuild-all@lists.01.org Subject: Re: [riscv:for-next 2/7] arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' Date: Mon, 31 Aug 2020 10:39:57 +0800 Message-ID: <2a773258-52d3-d2f6-baa6-eff048ce8230@intel.com> In-Reply-To: List-Id: --===============7089910274217207905== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 8/29/20 12:53 AM, Atish Patra wrote: > Hi Rong, > Thanks. I was able to reproduce the issue with linux-next and fixed it > yesterday. > I have some generic questions about kbuild infrastructure. > > 1. Is there a way to check if 0-day build bot actually built my branch ? > The search option doesn't seem to work. I have seen build success > emails for other trees but I never receive them for any repository on > my github. Hi Atish, Could you tell me the tree url you owned? we can send the build success = emails to you. > > 2. AFAIK, build bot schedules the builds from each repo randomly. Can > we request to build a specific repo sooner than later? We don't support it yet, but you can ping us (lkp(a)intel.com) to build = the repo manually. Best Regards, Rong Chen > > > > On Fri, Aug 28, 2020 at 12:20 AM Rong Chen wrot= e: >> Hi Atish, >> >> We can reproduce this error if using the reproduce steps: >> >> 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 >> git checkout 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.c= ross ARCH=3Driscv >> >> Best Regards, >> Rong Chen >> >> >> On 8/27/20 6:20 AM, Atish Patra wrote: >>> I can't seem to reproduce this issue. I have an older version gcc >>> though (8.2). I am surprised by the error as well we are already >>> including the early_ioremap.h. >>> >>> --- a/arch/riscv/include/asm/Kbuild >>> +++ b/arch/riscv/include/asm/Kbuild >>> @@ -1,4 +1,5 @@ >>> # SPDX-License-Identifier: GPL-2.0 >>> +generic-y +=3D early_ioremap.h >>> generic-y +=3D extable.h >>> generic-y +=3D flat.h >>> generic-y +=3D kvm_para.h >>> >>> On Wed, 2020-08-26 at 09:54 +0800, kernel test robot wrote: >>>> tree: >>>> https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- >>>> next >>>> head: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 >>>> commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Add >>>> early ioremap support >>>> config: riscv-allyesconfig (attached as .config) >>>> compiler: riscv64-linux-gcc (GCC) 9.3.0 >>>> reproduce (this is a W=3D1 build): >>>> wget >>>> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cro= ss >>>> -O ~/bin/make.cross >>>> chmod +x ~/bin/make.cross >>>> git checkout 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 >>>> # save the attached .config to linux build tree >>>> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 >>>> make.cross ARCH=3Driscv >>>> >>>> If you fix the issue, kindly add following tag as appropriate >>>> Reported-by: kernel test robot >>>> >>>> All errors (new ones prefixed by >>): >>>> >>>> arch/riscv/kernel/setup.c: In function 'setup_arch': >>>>>> arch/riscv/kernel/setup.c:74:2: error: implicit declaration of >>>>>> function 'early_ioremap_setup' [-Werror=3Dimplicit-function- >>>>>> declaration] >>>> 74 | early_ioremap_setup(); >>>> | ^~~~~~~~~~~~~~~~~~~ >>>> cc1: some warnings being treated as errors >>>> >>>> # >>>> https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit= /?id=3D3d109b0e0949bfd68cc00ffa9d78186fab037bc1 >>>> git remote add riscv >>>> https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git >>>> git fetch --no-tags riscv for-next >>>> git checkout 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 >>>> vim +/early_ioremap_setup +74 arch/riscv/kernel/setup.c >>>> >>>> 63 >>>> 64 void __init setup_arch(char **cmdline_p) >>>> 65 { >>>> 66 parse_dtb(); >>>> 67 init_mm.start_code =3D (unsigned long) _stext; >>>> 68 init_mm.end_code =3D (unsigned long) _etext; >>>> 69 init_mm.end_data =3D (unsigned long) _edata; >>>> 70 init_mm.brk =3D (unsigned long) _end; >>>> 71 >>>> 72 *cmdline_p =3D boot_command_line; >>>> 73 >>>> > 74 early_ioremap_setup(); >>>> 75 parse_early_param(); >>>> 76 >>>> 77 setup_bootmem(); >>>> 78 paging_init(); >>>> 79 #if IS_ENABLED(CONFIG_BUILTIN_DTB) >>>> 80 unflatten_and_copy_device_tree(); >>>> 81 #else >>>> 82 if (early_init_dt_verify(__va(dtb_early_pa))) >>>> 83 unflatten_device_tree(); >>>> 84 else >>>> 85 pr_err("No DTB found in kernel >>>> mappings\n"); >>>> 86 #endif >>>> 87 >>>> >>>> --- >>>> 0-DAY CI Kernel Test Service, Intel Corporation >>>> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org >> _______________________________________________ >> kbuild-all mailing list -- kbuild-all(a)lists.01.org >> To unsubscribe send an email to kbuild-all-leave(a)lists.01.org > > > -- > Regards, > Atish --===============7089910274217207905==--