<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/virtio, branch v6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.3</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2023-04-04T15:01:58Z</updated>
<entry>
<title>tools/virtio: fix typo in README instructions</title>
<updated>2023-04-04T15:01:58Z</updated>
<author>
<name>Ross Zwisler</name>
<email>zwisler@chromium.org</email>
</author>
<published>2023-02-15T22:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9513c55ce3e8f0f118c47423452c4a4bdaa80222'/>
<id>urn:sha1:9513c55ce3e8f0f118c47423452c4a4bdaa80222</id>
<content type='text'>
We need to have a unique chardev for each data path, else the chardevs
will collide and qemu will die with this message:

  qemu-system-x86_64: -device
  virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,
  id=channel1,name=trace-path-cpu0:
  Property 'virtserialport.chardev' can't take value 'charchannel0':
  Device 'charchannel0' is in use

Signed-off-by: Ross Zwisler &lt;zwisler@google.com&gt;
Message-Id: &lt;20230215223350.2658616-7-zwisler@google.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: Ignore virtio-trace/trace-agent</title>
<updated>2023-03-13T06:29:12Z</updated>
<author>
<name>Rong Tao</name>
<email>rongtao@cestc.cn</email>
</author>
<published>2023-03-09T06:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ae43c20da2a77c508715a9c77845b4e87e6a1e25'/>
<id>urn:sha1:ae43c20da2a77c508715a9c77845b4e87e6a1e25</id>
<content type='text'>
since commit 108fc82596e3("tools: Add guest trace agent as a user tool")
introduce virtio-trace/trace-agent, it should be ignored in the git tree.

Signed-off-by: Rong Tao &lt;rongtao@cestc.cn&gt;
Message-Id: &lt;tencent_52B2BC2F47540A5FEB46E710BD0C8485B409@qq.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: enable to build with retpoline</title>
<updated>2023-02-21T00:26:59Z</updated>
<author>
<name>Shunsuke Mie</name>
<email>mie@igel.co.jp</email>
</author>
<published>2023-02-02T10:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0d0ed4006127714e318c9a9d7796f5c8532a21e7'/>
<id>urn:sha1:0d0ed4006127714e318c9a9d7796f5c8532a21e7</id>
<content type='text'>
Add build options to bring it close to a linux kernel. It allows for
testing that is close to reality.

Signed-off-by: Shunsuke Mie &lt;mie@igel.co.jp&gt;
Message-Id: &lt;20230202104538.2041879-1-mie@igel.co.jp&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: fix the vringh test for virtio ring changes</title>
<updated>2023-01-27T11:18:41Z</updated>
<author>
<name>Shunsuke Mie</name>
<email>mie@igel.co.jp</email>
</author>
<published>2023-01-10T03:43:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3f7b75abf41cc4143aa295f62acbb060a012868d'/>
<id>urn:sha1:3f7b75abf41cc4143aa295f62acbb060a012868d</id>
<content type='text'>
Fix the build caused by missing kmsan_handle_dma() and is_power_of_2() that
are used in drivers/virtio/virtio_ring.c.

Signed-off-by: Shunsuke Mie &lt;mie@igel.co.jp&gt;
Message-Id: &lt;20230110034310.779744-1-mie@igel.co.jp&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: remove smp_read_barrier_depends()</title>
<updated>2022-12-28T10:28:11Z</updated>
<author>
<name>Davidlohr Bueso</name>
<email>dave@stgolabs.net</email>
</author>
<published>2022-11-28T03:43:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=81931012bd7dc52fadf2b720605fce8a7148d4a7'/>
<id>urn:sha1:81931012bd7dc52fadf2b720605fce8a7148d4a7</id>
<content type='text'>
This gets rid of the last references to smp_read_barrier_depends()
 which for the kernel side was removed in v5.9. The serialization
required for Alpha is done inside READ_ONCE() instead of having
users deal with it. Simply use a full barrier, the architecture
does not have rmb in the first place.

Signed-off-by: Davidlohr Bueso &lt;dave@stgolabs.net&gt;
Message-Id: &lt;20221128034347.990-3-dave@stgolabs.net&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Xuan Zhuo &lt;xuanzhuo@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: remove stray characters</title>
<updated>2022-12-28T10:28:11Z</updated>
<author>
<name>Davidlohr Bueso</name>
<email>dave@stgolabs.net</email>
</author>
<published>2022-11-28T03:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8aeac42d60936046a00e67cdf7d27b061df2962f'/>
<id>urn:sha1:8aeac42d60936046a00e67cdf7d27b061df2962f</id>
<content type='text'>
__read_once_size() is not a macro, remove those '/'s.

Signed-off-by: Davidlohr Bueso &lt;dave@stgolabs.net&gt;
Message-Id: &lt;20221128034347.990-2-dave@stgolabs.net&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Xuan Zhuo &lt;xuanzhuo@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: Variable type completion</title>
<updated>2022-12-28T10:28:10Z</updated>
<author>
<name>wangjianli</name>
<email>wangjianli@cdjrlc.com</email>
</author>
<published>2022-11-13T07:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a4722f64f924a9992efc08d141c21b2da02b70f3'/>
<id>urn:sha1:a4722f64f924a9992efc08d141c21b2da02b70f3</id>
<content type='text'>
Replace "unsigned" with "unsigned int"

Signed-off-by: wangjianli &lt;wangjianli@cdjrlc.com&gt;
Message-Id: &lt;20221113070742.48271-1-wangjianli@cdjrlc.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools: Delete the unneeded semicolon after curly braces</title>
<updated>2022-12-28T10:28:10Z</updated>
<author>
<name>Shaomin Deng</name>
<email>dengshaomin@cdjrlc.com</email>
</author>
<published>2022-11-05T15:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=75e4ab9735a5a70612dd06461ca372b897bf371c'/>
<id>urn:sha1:75e4ab9735a5a70612dd06461ca372b897bf371c</id>
<content type='text'>
Unneeded semicolon after curly braces, so delete it.

Signed-off-by: Shaomin Deng &lt;dengshaomin@cdjrlc.com&gt;
Message-Id: &lt;20221105155151.12155-1-dengshaomin@cdjrlc.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: initialize spinlocks in vring_test.c</title>
<updated>2022-12-28T10:09:47Z</updated>
<author>
<name>Ricardo Cañuelo</name>
<email>ricardo.canuelo@collabora.com</email>
</author>
<published>2022-10-12T06:29:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c262f75cb6bb5a63828e72ce3b8fe808e5029479'/>
<id>urn:sha1:c262f75cb6bb5a63828e72ce3b8fe808e5029479</id>
<content type='text'>
The virtio_device vqs_list spinlocks must be initialized before use to
prevent functions that manipulate the device virtualqueues, such as
vring_new_virtqueue(), from blocking indefinitely.

Signed-off-by: Ricardo Cañuelo &lt;ricardo.canuelo@collabora.com&gt;
Message-Id: &lt;20221012062949.1526176-1-ricardo.canuelo@collabora.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Xuan Zhuo &lt;xuanzhuo@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>virtio_test: fixup for vq reset</title>
<updated>2022-09-27T22:30:49Z</updated>
<author>
<name>Xuan Zhuo</name>
<email>xuanzhuo@linux.alibaba.com</email>
</author>
<published>2022-08-30T11:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dbe449d8f8f2ef91af729f0adcc9bef785873168'/>
<id>urn:sha1:dbe449d8f8f2ef91af729f0adcc9bef785873168</id>
<content type='text'>
Fix virtio test compilation failure caused by vq reset.

../../drivers/virtio/virtio_ring.c: In function ‘vring_create_virtqueue_packed’:
../../drivers/virtio/virtio_ring.c:1999:8: error: ‘struct virtqueue’ has no member named ‘reset’
 1999 |  vq-&gt;vq.reset = false;
      |        ^
../../drivers/virtio/virtio_ring.c: In function ‘__vring_new_virtqueue’:
../../drivers/virtio/virtio_ring.c:2493:8: error: ‘struct virtqueue’ has no member named ‘reset’
 2493 |  vq-&gt;vq.reset = false;
      |        ^
../../drivers/virtio/virtio_ring.c: In function ‘virtqueue_resize’:
../../drivers/virtio/virtio_ring.c:2587:18: error: ‘struct virtqueue’ has no member named ‘num_max’
 2587 |  if (num &gt; vq-&gt;vq.num_max)
      |                  ^
../../drivers/virtio/virtio_ring.c:2596:11: error: ‘struct virtio_device’ has no member named ‘config’
 2596 |  if (!vdev-&gt;config-&gt;disable_vq_and_reset)
      |           ^~
../../drivers/virtio/virtio_ring.c:2599:11: error: ‘struct virtio_device’ has no member named ‘config’
 2599 |  if (!vdev-&gt;config-&gt;enable_vq_after_reset)
      |           ^~
../../drivers/virtio/virtio_ring.c:2602:12: error: ‘struct virtio_device’ has no member named ‘config’
 2602 |  err = vdev-&gt;config-&gt;disable_vq_and_reset(_vq);
      |            ^~
../../drivers/virtio/virtio_ring.c:2614:10: error: ‘struct virtio_device’ has no member named ‘config’
 2614 |  if (vdev-&gt;config-&gt;enable_vq_after_reset(_vq))
      |          ^~
make: *** [&lt;builtin&gt;: virtio_ring.o] Error 1

Signed-off-by: Xuan Zhuo &lt;xuanzhuo@linux.alibaba.com&gt;
Message-Id: &lt;20220830110549.103168-1-xuanzhuo@linux.alibaba.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
