arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup'
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 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=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
Best Regards,
Rong Chen
Quoted 83 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 69 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = boot_command_line; 73Quoted 1 line
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
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.
2. AFAIK, build bot schedules the builds from each repo randomly. Can we request to build a specific repo sooner than later?
Quoted 97 lines · Rong Chen
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscvBest Regards,
Rong ChenQuoted 80 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 66 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = boot_command_line; 73Quoted 1 line
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
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
---
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
Quoted 9 lines · Atish Patra
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.
Quoted 3 lines
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
Quoted 111 lines · Rong Chen
Quoted 96 lines
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscvBest Regards,
Rong ChenQuoted 80 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 66 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = 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 87Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
---
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
Quoted 14 lines · Rong Chen
Quoted 9 lines · Atish Patra
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.
Quoted 5 lines
Hi Atish,
Could you tell me the tree url you owned? we can send the build success emails to you.
Here is my github repo.
https://github.com/atishp04/linux
Quoted 7 lines
Quoted 3 lines
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.
Thanks.
Quoted 115 lines
Best Regards,
Rong ChenQuoted 111 lines · Rong Chen
Quoted 96 lines
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscvBest Regards,
Rong ChenQuoted 80 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 66 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = 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 87Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
---
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
Signature · 2 lines
Regards, Atish
Hi Rong,
Thanks for setting up the build success emails for me. I noticed that RISC-V builds happen only for
following configs
riscv allyesconfig
riscv defconfig
riscv allmodconfig
riscv allnoconfig
Is it possible to build a couple of more default configs from RISC-V tree as shown below?
$ ls -r arch/riscv/configs/ rv32_defconfig nommu_virt_defconfig nommu_k210_defconfig defconfig
Quoted 154 lines · Atish Patra
Quoted 14 lines · Rong Chen
Quoted 9 lines · Atish Patra
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.
Quoted 5 lines
Hi Atish,
Could you tell me the tree url you owned? we can send the build success emails to you.
Here is my github repo.
https://github.com/atishp04/linuxQuoted 7 lines
Quoted 3 lines
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.
Thanks.
Quoted 115 lines
Best Regards,
Rong ChenQuoted 111 lines · Rong Chen
Quoted 96 lines
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscvBest Regards,
Rong ChenQuoted 80 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 66 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = 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 87Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
---
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--
Regards,
Atish
Signature · 2 lines
Regards, Atish
Hi Atish,
Thanks for your suggestion, we have added these default configs.
Best Regards,
Rong Chen
Quoted 163 lines · Atish Patra
Hi Rong,
Thanks for setting up the build success emails for me. I noticed that RISC-V builds happen only for
following configsriscv allyesconfig
riscv defconfig
riscv allmodconfig
riscv allnoconfigIs it possible to build a couple of more default configs from RISC-V tree as shown below?
$ ls -r arch/riscv/configs/ rv32_defconfig nommu_virt_defconfig nommu_k210_defconfig defconfigQuoted 144 lines · Atish Patra
Quoted 8 lines · Rong Chen
Quoted 5 lines · Atish Patra
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.Quoted 9 lines
Quoted 4 lines
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.
Here is my github repo.
https://github.com/atishp04/linuxQuoted 5 lines
Quoted 2 lines
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.
Thanks.
Quoted 112 lines
Best Regards,
Rong ChenQuoted 109 lines · Rong Chen
Quoted 96 lines
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1
# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscvBest Regards,
Rong ChenQuoted 80 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 66 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = 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 87Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
---
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--
Regards,
Atish
Quoted 5 lines · Rong Chen
Hi Atish,
Thanks for your suggestion, we have added these default configs.
Thanks for the quick response!
Quoted 168 lines
Best Regards,
Rong ChenQuoted 163 lines · Atish Patra
Hi Rong,
Thanks for setting up the build success emails for me. I noticed that RISC-V builds happen only for
following configsriscv allyesconfig
riscv defconfig
riscv allmodconfig
riscv allnoconfigIs it possible to build a couple of more default configs from RISC-V tree as shown below?
$ ls -r arch/riscv/configs/ rv32_defconfig nommu_virt_defconfig nommu_k210_defconfig defconfigQuoted 144 lines · Atish Patra
Quoted 8 lines · Rong Chen
Quoted 5 lines · Atish Patra
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.Quoted 9 lines
Quoted 4 lines
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.
Here is my github repo.
https://github.com/atishp04/linuxQuoted 5 lines
Quoted 2 lines
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.
Thanks.
Quoted 112 lines
Best Regards,
Rong ChenQuoted 109 lines · Rong Chen
Quoted 96 lines
Hi Atish,
We can reproduce this error if using the reproduce steps:
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1
# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscvBest Regards,
Rong ChenQuoted 80 lines · Atish Patra
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.arch/riscv/include/asm/Kbuild +1
-0@@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +generic-y += early_ioremap.h generic-y += extable.h generic-y += flat.h generic-y += kvm_para.hQuoted 66 lines · kernel test robot
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for- nexthead: f75fa0a51b8b544ebd0d03a74c6b04d9f6b95781 commit: 3d109b0e0949bfd68cc00ffa9d78186fab037bc1 [2/7] RISC-V: Addearly ioremap support
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1# save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0
make.cross ARCH=riscvIf you fix the issue, kindly add following tag as appropriate
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
arch/riscv/kernel/setup.c: In function 'setup_arch':Quoted 3 lines
Quoted 3 lines
arch/riscv/kernel/setup.c:74:2: error: implicit declaration of function 'early_ioremap_setup' [-Werror=implicit-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=3d109b0e0949bfd68cc00ffa9d78186fab037bc1
git remote add riscv
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git
git fetch --no-tags riscv for-next
git checkout3d109b0e0949bfd68cc00ffa9d78186fab037bc1vim +/early_ioremap_setup +74arch/riscv/kernel/setup.c63 64 void __init setup_arch(char **cmdline_p) 65 { 66 parse_dtb(); 67 init_mm.start_code = (unsigned long) _stext; 68 init_mm.end_code = (unsigned long) _etext; 69 init_mm.end_data = (unsigned long) _edata; 70 init_mm.brk = (unsigned long) _end; 71 72 *cmdline_p = 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 87Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
---
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--
Regards,
Atish
Signature · 2 lines
Regards, Atish