From: kbuild test robot <lkp@intel.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Jason Wang <jasowang@redhat.com>,
virtualization@lists.linux-foundation.org
Subject: Re: [PATCH v3 1/2] virtio: stop using legacy struct vring in kernel
Date: Tue, 7 Apr 2020 04:54:13 +0800 [thread overview]
Message-ID: <202004070437.soIn8LZK%lkp@intel.com> (raw)
In-Reply-To: <20200406161146.130741-2-mst@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 4219 bytes --]
Hi "Michael,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20200406]
[also build test ERROR on v5.6]
[cannot apply to vhost/linux-next linus/master linux/master v5.6 v5.6-rc7 v5.6-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/virtio-alignment-issues/20200407-025651
base: b2e2a818a01717ba15c74fd355f76822b81a95f6
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-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
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
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:42:15: error: field 'vring' has incomplete type
42 | struct vring vring;
| ^~~~~
vim +/vring +42 include/linux/vringh.h
f87d0fbb579818 Rusty Russell 2013-03-20 20
f87d0fbb579818 Rusty Russell 2013-03-20 21 /* virtio_ring with information needed for host access. */
f87d0fbb579818 Rusty Russell 2013-03-20 22 struct vringh {
b9f7ac8c72894c Michael S. Tsirkin 2014-12-12 23 /* Everything is little endian */
b9f7ac8c72894c Michael S. Tsirkin 2014-12-12 24 bool little_endian;
b9f7ac8c72894c Michael S. Tsirkin 2014-12-12 25
f87d0fbb579818 Rusty Russell 2013-03-20 26 /* Guest publishes used event idx (note: we always do). */
f87d0fbb579818 Rusty Russell 2013-03-20 27 bool event_indices;
f87d0fbb579818 Rusty Russell 2013-03-20 28
f87d0fbb579818 Rusty Russell 2013-03-20 29 /* Can we get away with weak barriers? */
f87d0fbb579818 Rusty Russell 2013-03-20 30 bool weak_barriers;
f87d0fbb579818 Rusty Russell 2013-03-20 31
f87d0fbb579818 Rusty Russell 2013-03-20 32 /* Last available index we saw (ie. where we're up to). */
f87d0fbb579818 Rusty Russell 2013-03-20 33 u16 last_avail_idx;
f87d0fbb579818 Rusty Russell 2013-03-20 34
f87d0fbb579818 Rusty Russell 2013-03-20 35 /* Last index we used. */
f87d0fbb579818 Rusty Russell 2013-03-20 36 u16 last_used_idx;
f87d0fbb579818 Rusty Russell 2013-03-20 37
f87d0fbb579818 Rusty Russell 2013-03-20 38 /* How many descriptors we've completed since last need_notify(). */
f87d0fbb579818 Rusty Russell 2013-03-20 39 u32 completed;
f87d0fbb579818 Rusty Russell 2013-03-20 40
f87d0fbb579818 Rusty Russell 2013-03-20 41 /* The vring (note: it may contain user pointers!) */
f87d0fbb579818 Rusty Russell 2013-03-20 @42 struct vring vring;
3beee86a4b9374 Sjur Brændeland 2013-03-20 43
9ad9c49cfe970b Jason Wang 2020-03-26 44 /* IOTLB for this vring */
9ad9c49cfe970b Jason Wang 2020-03-26 45 struct vhost_iotlb *iotlb;
9ad9c49cfe970b Jason Wang 2020-03-26 46
3beee86a4b9374 Sjur Brændeland 2013-03-20 47 /* The function to call to notify the guest about added buffers */
3beee86a4b9374 Sjur Brændeland 2013-03-20 48 void (*notify)(struct vringh *);
3beee86a4b9374 Sjur Brændeland 2013-03-20 49 };
3beee86a4b9374 Sjur Brændeland 2013-03-20 50
:::::: The code at line 42 was first introduced by commit
:::::: f87d0fbb579818fed3eeb0923cc253163ab93039 vringh: host-side implementation of virtio rings.
:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>
---
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: 10912 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 1/2] virtio: stop using legacy struct vring in kernel
Date: Tue, 07 Apr 2020 04:54:13 +0800 [thread overview]
Message-ID: <202004070437.soIn8LZK%lkp@intel.com> (raw)
In-Reply-To: <20200406161146.130741-2-mst@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 4304 bytes --]
Hi "Michael,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20200406]
[also build test ERROR on v5.6]
[cannot apply to vhost/linux-next linus/master linux/master v5.6 v5.6-rc7 v5.6-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/virtio-alignment-issues/20200407-025651
base: b2e2a818a01717ba15c74fd355f76822b81a95f6
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-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
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
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:42:15: error: field 'vring' has incomplete type
42 | struct vring vring;
| ^~~~~
vim +/vring +42 include/linux/vringh.h
f87d0fbb579818 Rusty Russell 2013-03-20 20
f87d0fbb579818 Rusty Russell 2013-03-20 21 /* virtio_ring with information needed for host access. */
f87d0fbb579818 Rusty Russell 2013-03-20 22 struct vringh {
b9f7ac8c72894c Michael S. Tsirkin 2014-12-12 23 /* Everything is little endian */
b9f7ac8c72894c Michael S. Tsirkin 2014-12-12 24 bool little_endian;
b9f7ac8c72894c Michael S. Tsirkin 2014-12-12 25
f87d0fbb579818 Rusty Russell 2013-03-20 26 /* Guest publishes used event idx (note: we always do). */
f87d0fbb579818 Rusty Russell 2013-03-20 27 bool event_indices;
f87d0fbb579818 Rusty Russell 2013-03-20 28
f87d0fbb579818 Rusty Russell 2013-03-20 29 /* Can we get away with weak barriers? */
f87d0fbb579818 Rusty Russell 2013-03-20 30 bool weak_barriers;
f87d0fbb579818 Rusty Russell 2013-03-20 31
f87d0fbb579818 Rusty Russell 2013-03-20 32 /* Last available index we saw (ie. where we're up to). */
f87d0fbb579818 Rusty Russell 2013-03-20 33 u16 last_avail_idx;
f87d0fbb579818 Rusty Russell 2013-03-20 34
f87d0fbb579818 Rusty Russell 2013-03-20 35 /* Last index we used. */
f87d0fbb579818 Rusty Russell 2013-03-20 36 u16 last_used_idx;
f87d0fbb579818 Rusty Russell 2013-03-20 37
f87d0fbb579818 Rusty Russell 2013-03-20 38 /* How many descriptors we've completed since last need_notify(). */
f87d0fbb579818 Rusty Russell 2013-03-20 39 u32 completed;
f87d0fbb579818 Rusty Russell 2013-03-20 40
f87d0fbb579818 Rusty Russell 2013-03-20 41 /* The vring (note: it may contain user pointers!) */
f87d0fbb579818 Rusty Russell 2013-03-20 @42 struct vring vring;
3beee86a4b9374 Sjur Brændeland 2013-03-20 43
9ad9c49cfe970b Jason Wang 2020-03-26 44 /* IOTLB for this vring */
9ad9c49cfe970b Jason Wang 2020-03-26 45 struct vhost_iotlb *iotlb;
9ad9c49cfe970b Jason Wang 2020-03-26 46
3beee86a4b9374 Sjur Brændeland 2013-03-20 47 /* The function to call to notify the guest about added buffers */
3beee86a4b9374 Sjur Brændeland 2013-03-20 48 void (*notify)(struct vringh *);
3beee86a4b9374 Sjur Brændeland 2013-03-20 49 };
3beee86a4b9374 Sjur Brændeland 2013-03-20 50
:::::: The code at line 42 was first introduced by commit
:::::: f87d0fbb579818fed3eeb0923cc253163ab93039 vringh: host-side implementation of virtio rings.
:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 10912 bytes --]
next prev parent reply other threads:[~2020-04-06 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 16:11 [PATCH v3 0/2] virtio: alignment issues Michael S. Tsirkin
2020-04-06 16:11 ` [PATCH v3 1/2] virtio: stop using legacy struct vring in kernel Michael S. Tsirkin
2020-04-06 20:54 ` kbuild test robot [this message]
2020-04-06 20:54 ` kbuild test robot
2020-04-06 22:11 ` kbuild test robot
2020-04-08 0:13 ` kbuild test robot
2020-04-06 16:12 ` [PATCH v3 2/2] vhost: force spec specified alignment on types Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202004070437.soIn8LZK%lkp@intel.com \
--to=lkp@intel.com \
--cc=jasowang@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.