* [arm-integrator:b4/aarch64-clear-pages 2/2] make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
@ 2026-02-14 12:53 kernel test robot
2026-02-14 17:10 ` Linus Walleij
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2026-02-14 12:53 UTC (permalink / raw)
To: Linus Walleij; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/aarch64-clear-pages
head: a925ec351435c4da7f3ca8877af9e0aee81bcca5
commit: a925ec351435c4da7f3ca8877af9e0aee81bcca5 [2/2] arm64: Implement clear_pages()
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602142051.bzpo4KnU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
make[7]: Target 'arch/arm64/kvm/hyp/nvhe/' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [arm-integrator:b4/aarch64-clear-pages 2/2] make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
2026-02-14 12:53 [arm-integrator:b4/aarch64-clear-pages 2/2] make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o' kernel test robot
@ 2026-02-14 17:10 ` Linus Walleij
2026-02-14 19:25 ` Nathan Chancellor
0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2026-02-14 17:10 UTC (permalink / raw)
To: kernel test robot; +Cc: llvm, oe-kbuild-all
On Sat, Feb 14, 2026 at 1:54 PM kernel test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/aarch64-clear-pages
> head: a925ec351435c4da7f3ca8877af9e0aee81bcca5
> commit: a925ec351435c4da7f3ca8877af9e0aee81bcca5 [2/2] arm64: Implement clear_pages()
> config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/config)
> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202602142051.bzpo4KnU-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
> make[7]: Target 'arch/arm64/kvm/hyp/nvhe/' not remade because of errors.
What is this?
It looks 100% like the kind of problem you get when you patch an assembly .S
file and there are old compile products left in the build tree, but
Make does not
have the idea to rebuild them.
Usuallt this is solved with make clean/mrproper.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [arm-integrator:b4/aarch64-clear-pages 2/2] make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
2026-02-14 17:10 ` Linus Walleij
@ 2026-02-14 19:25 ` Nathan Chancellor
2026-02-16 0:21 ` Linus Walleij
0 siblings, 1 reply; 4+ messages in thread
From: Nathan Chancellor @ 2026-02-14 19:25 UTC (permalink / raw)
To: Linus Walleij; +Cc: kernel test robot, llvm, oe-kbuild-all
On Sat, Feb 14, 2026 at 06:10:19PM +0100, Linus Walleij wrote:
> On Sat, Feb 14, 2026 at 1:54 PM kernel test robot <lkp@intel.com> wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/aarch64-clear-pages
> > head: a925ec351435c4da7f3ca8877af9e0aee81bcca5
> > commit: a925ec351435c4da7f3ca8877af9e0aee81bcca5 [2/2] arm64: Implement clear_pages()
> > config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/config)
> > compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202602142051.bzpo4KnU-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
> > make[7]: Target 'arch/arm64/kvm/hyp/nvhe/' not remade because of errors.
>
> What is this?
This is reproducible with a clean out folder. Your patch renamed
clear_page.S to clear_pages.S and you handled that properly in
arch/arm64/lib/Makefile but arch/arm64/kvm/hyp/nvhe also uses this
file, so the rename needs to be handled there as well.
diff --git a/arch/arm64/kvm/hyp/nvhe/Makefile b/arch/arm64/kvm/hyp/nvhe/Makefile
index a244ec25f8c5..f857dac82a88 100644
--- a/arch/arm64/kvm/hyp/nvhe/Makefile
+++ b/arch/arm64/kvm/hyp/nvhe/Makefile
@@ -17,7 +17,7 @@ ccflags-y += -fno-stack-protector \
hostprogs := gen-hyprel
HOST_EXTRACFLAGS += -I$(objtree)/include
-lib-objs := clear_page.o copy_page.o memcpy.o memset.o
+lib-objs := clear_pages.o copy_page.o memcpy.o memset.o
lib-objs := $(addprefix ../../../lib/, $(lib-objs))
CFLAGS_switch.nvhe.o += -Wno-override-init
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [arm-integrator:b4/aarch64-clear-pages 2/2] make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
2026-02-14 19:25 ` Nathan Chancellor
@ 2026-02-16 0:21 ` Linus Walleij
0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2026-02-16 0:21 UTC (permalink / raw)
To: Nathan Chancellor; +Cc: kernel test robot, llvm, oe-kbuild-all
On Sat, Feb 14, 2026 at 8:25 PM Nathan Chancellor <nathan@kernel.org> wrote:
> On Sat, Feb 14, 2026 at 06:10:19PM +0100, Linus Walleij wrote:
> > On Sat, Feb 14, 2026 at 1:54 PM kernel test robot <lkp@intel.com> wrote:
> >
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git b4/aarch64-clear-pages
> > > head: a925ec351435c4da7f3ca8877af9e0aee81bcca5
> > > commit: a925ec351435c4da7f3ca8877af9e0aee81bcca5 [2/2] arm64: Implement clear_pages()
> > > config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/config)
> > > compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260214/202602142051.bzpo4KnU-lkp@intel.com/reproduce)
> > >
> > > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > > the same patch/commit), kindly add following tags
> > > | Reported-by: kernel test robot <lkp@intel.com>
> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202602142051.bzpo4KnU-lkp@intel.com/
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > > >> make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o'.
> > > make[7]: Target 'arch/arm64/kvm/hyp/nvhe/' not remade because of errors.
> >
> > What is this?
>
> This is reproducible with a clean out folder. Your patch renamed
> clear_page.S to clear_pages.S and you handled that properly in
> arch/arm64/lib/Makefile but arch/arm64/kvm/hyp/nvhe also uses this
> file, so the rename needs to be handled there as well.
Aha what a clever trick, I was unaware of this trickery...
Thanks a lot Nathan, much appreciated!!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-16 0:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-14 12:53 [arm-integrator:b4/aarch64-clear-pages 2/2] make[7]: *** No rule to make target 'arch/arm64/kvm/hyp/nvhe/../../../lib/clear_page.nvhe.o', needed by 'arch/arm64/kvm/hyp/nvhe/kvm_nvhe.tmp.o' kernel test robot
2026-02-14 17:10 ` Linus Walleij
2026-02-14 19:25 ` Nathan Chancellor
2026-02-16 0:21 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox