netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory
@ 2020-03-29 12:08 kbuild test robot
  2020-03-30  2:46 ` Jason Wang
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2020-03-29 12:08 UTC (permalink / raw)
  To: Jason Wang; +Cc: kbuild-all, kvm, virtualization, netdev, Michael S. Tsirkin

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

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
        # save the attached .config to linux build tree
        GCC_VERSION=9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

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	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20118 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory
  2020-03-29 12:08 [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory kbuild test robot
@ 2020-03-30  2:46 ` Jason Wang
  2020-03-31  7:31   ` Xia, Hui
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Wang @ 2020-03-30  2:46 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, kvm, virtualization, netdev, Michael S. Tsirkin


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


>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
>
> 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@lists.01.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory
  2020-03-30  2:46 ` Jason Wang
@ 2020-03-31  7:31   ` Xia, Hui
  2020-03-31  8:10     ` Jason Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Xia, Hui @ 2020-03-31  7:31 UTC (permalink / raw)
  To: Jason Wang, lkp
  Cc: kbuild-all, kvm, virtualization, netdev, Michael S. Tsirkin



>-----Original Message-----
>From: Jason Wang <jasowang@redhat.com>
>Sent: 2020年3月30日 10:47
>To: lkp <lkp@intel.com>
>Cc: kbuild-all@lists.01.org; kvm@vger.kernel.org; virtualization@lists.linux-
>foundation.org; netdev@vger.kernel.org; Michael S. Tsirkin <mst@redhat.com>
>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@intel.com>
>>
>> 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@lists.01.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory
  2020-03-31  7:31   ` Xia, Hui
@ 2020-03-31  8:10     ` Jason Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2020-03-31  8:10 UTC (permalink / raw)
  To: Xia, Hui, lkp; +Cc: kbuild-all, kvm, virtualization, netdev, Michael S. Tsirkin


On 2020/3/31 下午3:31, Xia, Hui wrote:
>> -----Original Message-----
>> From: Jason Wang<jasowang@redhat.com>
>> Sent: 2020年3月30日 10:47
>> To: lkp<lkp@intel.com>
>> Cc:kbuild-all@lists.01.org;kvm@vger.kernel.org;virtualization@lists.linux-
>> foundation.org;netdev@vger.kernel.org; Michael S. Tsirkin<mst@redhat.com>
>> 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:
>>>           wgethttps://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.


Good to know this.

Thanks for the updating.


>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-31  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-29 12:08 [vhost:linux-next 8/13] include/linux/vringh.h:18:10: fatal error: linux/vhost_iotlb.h: No such file or directory kbuild test robot
2020-03-30  2:46 ` Jason Wang
2020-03-31  7:31   ` Xia, Hui
2020-03-31  8:10     ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).