RE: [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: Jason Wang <jasowang@xxxxxxxxxx>
>Sent: 2020年3月30日 10:47
>To: lkp <lkp@xxxxxxxxx>
>Cc: kbuild-all@xxxxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; virtualization@lists.linux-
>foundation.org; netdev@xxxxxxxxxxxxxxx; Michael S. Tsirkin <mst@xxxxxxxxxx>
>Subject: Re: [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error:
>linux/vhost_iotlb.h: No such file or directory
>
>
>On 2020/3/29 下午8:08, kbuild test robot wrote:
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
>> head:   f44a63f9ebf66a450c101084a35a3ef158ead209
>> commit: c43908b0b9a900bd51f861f4c57b83cfd932f4d2 [8/13] vringh: IOTLB
>> support
>> config: arm-em_x270_defconfig (attached as .config)
>> compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
>> reproduce:
>>          wget https://raw.githubusercontent.com/intel/lkp-
>tests/master/sbin/make.cross -O ~/bin/make.cross
>>          chmod +x ~/bin/make.cross
>>          git checkout c43908b0b9a900bd51f861f4c57b83cfd932f4d2
>
>
>I could not find this commit in the above branch.
>
>
>>          # save the attached .config to linux build tree
>>          GCC_VERSION=9.3.0 make.cross ARCH=arm
>
>
>Try to use commit dc3b0673ae5efb73edab66ec5c2f074272e9a4df.
>
>But this command does not work (I remember it used to work):
>
># GCC_VERSION=9.3.0 make.cross ARCH=arm
>cd: received redirection to
>`https://download.01.org/0day-ci/cross-package/'
>lftpget -c
>https://download.01.org/0day-ci/cross-package/./gcc-9.3.0-nolibc/x86_64-gcc-
>9.3.0-nolibc_arm-linux-gnueabihf.tar.xz
>tar Jxf
>gcc-9.3.0-nolibc/x86_64-gcc-9.3.0-nolibc_arm-linux-gnueabihf.tar.xz -C
>/root/0day No cross compiler for arm setup_crosstool failed
Hi Jason, thanks for report this issue. It is caused by wrong finding in 2 cross tools for arm. And has been fixed. Thanks.
Regarding to the vhost build issue itself, it has gone in latest vhost/linux-next. The cause is the code kbuild captured didn't have  patch " vhost: factor out IOTLB " which introduce linux/vhost_iotlb.h at that moment. So just ignore this issue since the missed patch has been added in latest vhost/linux-next.

>
>
>>
>> If you fix the issue, kindly add following tag
>> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>>
>> All errors (new ones prefixed by >>):
>>
>>     In file included from include/linux/virtio.h:12,
>>                      from include/linux/virtio_config.h:7,
>>                      from include/uapi/linux/virtio_net.h:30,
>>                      from include/linux/virtio_net.h:6,
>>                      from net//packet/af_packet.c:82:
>>>> include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No
>>>> such file or directory
>>        18 | #include <linux/vhost_iotlb.h>
>>           |          ^~~~~~~~~~~~~~~~~~~~~
>>     compilation terminated.
>>
>> vim +18 include/linux/vringh.h
>>
>>    > 18	#include <linux/vhost_iotlb.h>
>>      19	#include <asm/barrier.h>
>>      20
>
>
>I can hardly believe it can't work.
>
>I get
>
># file include/linux/vringh.h
>include/linux/vringh.h: C source, ASCII text
>
>So this looks like a false positive to me?
>
>Thanks
>
>
>>
>> ---
>> 0-DAY CI Kernel Test Service, Intel Corporation
>> https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux