Re: [kvm-x86:selftests2] [KVM] a262fc49e0: kselftests.kvm.make.fail

Sean Christopherson <[email protected]>
Newsgroups dev.linux.lists.oe-lkp,org.kernel.vger.kvm
Message-ID <[email protected]>
On Fri, Aug 07, 2026, kernel test robot wrote:
> 
> 
> Hello,
> 
> kernel test robot noticed "kselftests.kvm.make.fail" on:
> 
> commit: a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757 ("KVM: selftests: Build and link selftests/vfio/lib into KVM selftests")
> https://github.com/kvm-x86/linux selftests2
> 
> [test failed on linux-next/master 78bc8af4affb9a732504eb22eeac7d1e50883853]
> 
> in testcase: kselftests
> version: kselftests-x86_64-848acc8ffe1b-1_20260804
> with following parameters:
> 
> 	group: kvm
> 
> 
> config: x86_64-rhel-9.4-kselftests
> compiler: gcc-14
> test machine: 224 threads 2 sockets Intel(R) Xeon(R) Platinum 8480CTDX (Sapphire Rapids) with 256G memory
> 
> (please refer to attached dmesg/kmsg for entire log/backtrace)
> 
> 
> 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 <[email protected]>
> | Closes: https://lore.kernel.org/oe-lkp/[email protected]
> 
> 
> /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/vfio/lib/drivers/ioat/ioat.c:12:10: fatal error: hw.h: No such file or directory
>    12 | #include "hw.h"
>       |          ^~~~~~
> compilation terminated.
> make[1]: *** [../vfio/lib/libvfio.mk:32:
> /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/kvm/libvfio/drivers/ioat/ioat.o]
> Error 1 make[1]: *** Waiting for unfinished jobs....
> /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/vfio/lib/drivers/dsa/dsa.c:14:10:
> fatal error: registers.h: No such file or directory
>    14 | #include "registers.h"
>       |          ^~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [../vfio/lib/libvfio.mk:32:
> /usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/kvm/libvfio/drivers/dsa/dsa.o]
> Error 1 make[1]: Leaving directory
> '/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/kvm'
> make: *** [Makefile:218: all] Error 2

Any chance the file is literally just not there?  Makefile.kvm's -I$(<D) expands
to:

 -I/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/vfio/lib/drivers/dsa

which matches the directory of the input file:

 -c/usr/src/perf_selftests-x86_64-rhel-9.4-kselftests-a262fc49e0aafdeeb1b4fd8cb0d79a0fde447757/tools/testing/selftests/vfio/lib/drivers/dsa/dsa.c

so AFAICT the makefile is working as intended?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.