<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/virtio, branch v4.7</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=v4.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-06-06T10:00:11Z</updated>
<entry>
<title>tools/virtio: add noring tool</title>
<updated>2016-06-06T10:00:11Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-05-24T12:21:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=139ab4d4e68b8cf2a611b06c006a2195dc6bedf1'/>
<id>urn:sha1:139ab4d4e68b8cf2a611b06c006a2195dc6bedf1</id>
<content type='text'>
Useful to measure testing framework overhead.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu</title>
<updated>2016-06-06T10:00:11Z</updated>
<author>
<name>Mike Rapoport</name>
<email>rppt@linux.vnet.ibm.com</email>
</author>
<published>2016-05-04T10:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef1b144d23dbd745fd655b7d0a70212fcc8d0121'/>
<id>urn:sha1:ef1b144d23dbd745fd655b7d0a70212fcc8d0121</id>
<content type='text'>
/dev/cpu is only available on x86 with certain modules (e.g. msr) enabled.
Using lscpu to get processors count is more portable.

Signed-off-by: Mike Rapoport &lt;rppt@linux.vnet.ibm.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio/ringtest: add usage example to README</title>
<updated>2016-06-06T10:00:11Z</updated>
<author>
<name>Mike Rapoport</name>
<email>rppt@linux.vnet.ibm.com</email>
</author>
<published>2016-05-04T06:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3b220cf867ce6881c7f671b27564c4cc13d8c4b8'/>
<id>urn:sha1:3b220cf867ce6881c7f671b27564c4cc13d8c4b8</id>
<content type='text'>
Having typical usage example in the README file is more convinient than in
the git history...

Signed-off-by: Mike Rapoport &lt;rppt@linux.vnet.ibm.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ringtest: pass buf != NULL</title>
<updated>2016-05-22T16:44:14Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-05-22T12:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bb991288728e6a47a6f0fac6a4e9dfaeecc27956'/>
<id>urn:sha1:bb991288728e6a47a6f0fac6a4e9dfaeecc27956</id>
<content type='text'>
just a stub pointer for now.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio: add inorder option</title>
<updated>2016-05-22T16:44:12Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-05-08T15:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce10c1b95095c652461616a3f887f6412ab6e1cc'/>
<id>urn:sha1:ce10c1b95095c652461616a3f887f6412ab6e1cc</id>
<content type='text'>
skips ring accesses but drops out of order support

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio_ring: Support DMA APIs</title>
<updated>2016-03-02T15:01:57Z</updated>
<author>
<name>Andy Lutomirski</name>
<email>luto@kernel.org</email>
</author>
<published>2016-02-03T05:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=780bc7903a32edb63be138487fd981694d993610'/>
<id>urn:sha1:780bc7903a32edb63be138487fd981694d993610</id>
<content type='text'>
virtio_ring currently sends the device (usually a hypervisor)
physical addresses of its I/O buffers.  This is okay when DMA
addresses and physical addresses are the same thing, but this isn't
always the case.  For example, this never works on Xen guests, and
it is likely to fail if a physical "virtio" device ever ends up
behind an IOMMU or swiotlb.

The immediate use case for me is to enable virtio on Xen guests.
For that to work, we need vring to support DMA address translation
as well as a corresponding change to virtio_pci or to another
driver.

Signed-off-by: Andy Lutomirski &lt;luto@kernel.org&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: add ringtest utilities</title>
<updated>2016-01-26T08:18:30Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-01-21T12:44:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=481eaec37e91e2b33f17275901172f50ce2c71e8'/>
<id>urn:sha1:481eaec37e91e2b33f17275901172f50ce2c71e8</id>
<content type='text'>
This adds micro-benchmarks useful for tuning virtio ring layouts.
Three layouts are currently implemented:

- virtio 0.9 compatible one
- an experimental extension bypassing the ring index, polling ring
  itself instead
- an experimental extension bypassing avail and used ring completely

Typical use:

sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring

It doesn't depend on the kernel directly, but it's handy
to have as much virtio stuff as possible in one tree.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: use virt_xxx barriers</title>
<updated>2016-01-26T08:18:29Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-01-20T19:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a7c490333df3cff5086ddf19a0837529304fa097'/>
<id>urn:sha1:a7c490333df3cff5086ddf19a0837529304fa097</id>
<content type='text'>
Fix build after API changes.

Reported-by: Kamal Mostafa &lt;kamal@canonical.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: fix byteswap logic</title>
<updated>2015-12-07T15:28:10Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2015-11-29T11:03:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=55564a02b2ad4dab0c29fd9391d5118592c7fdc8'/>
<id>urn:sha1:55564a02b2ad4dab0c29fd9391d5118592c7fdc8</id>
<content type='text'>
commit cf561f0d2eb74574ad9985a2feab134267a9d298 ("virtio: introduce
virtio_is_little_endian() helper") changed byteswap logic to
skip feature bit checks for LE platforms, but didn't
update tools/virtio, so vring_bench started failing.

Update the copy under tools/virtio/ (TODO: find a way to avoid this code
duplication).

Cc: Greg Kurz &lt;gkurz@linux.vnet.ibm.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio: move list macro stubs</title>
<updated>2015-12-07T15:28:09Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2015-11-29T10:43:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=40c172e5d99220c8a99dbc4468e792c74494a596'/>
<id>urn:sha1:40c172e5d99220c8a99dbc4468e792c74494a596</id>
<content type='text'>
Makes them more generally available.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
