<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/tools/virtio/ringtest, branch dev-4.13</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2017-05-09T13:43:23+00:00</updated>
<entry>
<title>ptr_ring: support testing different batching sizes</title>
<updated>2017-05-09T13:43:23+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2017-04-07T05:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=3008a206209fba670ab1da5590694a616b705efb'/>
<id>urn:sha1:3008a206209fba670ab1da5590694a616b705efb</id>
<content type='text'>
Use the param flag for that.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ringtest: support test specific parameters</title>
<updated>2017-05-09T13:43:23+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2017-04-07T05:44:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=a49795054a0b2034ac50a2a894864fdb353addb5'/>
<id>urn:sha1:a49795054a0b2034ac50a2a894864fdb353addb5</id>
<content type='text'>
Add a new flag for passing test-specific parameters.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ringtest: fix an assert statement</title>
<updated>2017-05-02T20:41:42+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2017-04-15T19:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=4f6d9bfc882450631251052756ed84658ec88a70'/>
<id>urn:sha1:4f6d9bfc882450631251052756ed84658ec88a70</id>
<content type='text'>
There is an || vs &amp;&amp; typo so the assert can never be triggered.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Acked-by: Jason Wang &lt;jasowang@redhat.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio/ringtest: tweaks for s390</title>
<updated>2017-01-19T21:46:32+00:00</updated>
<author>
<name>Halil Pasic</name>
<email>pasic@linux.vnet.ibm.com</email>
</author>
<published>2016-09-02T15:59:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=47a4c49af6cc1982ce613c8ee79aab459d04c44c'/>
<id>urn:sha1:47a4c49af6cc1982ce613c8ee79aab459d04c44c</id>
<content type='text'>
Make ringtest work on s390 too.

Signed-off-by: Halil Pasic &lt;pasic@linux.vnet.ibm.com&gt;
Acked-by: Sascha Silbe &lt;silbe@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>tools/virtio/ringtest: fix run-on-all.sh for offline cpus</title>
<updated>2017-01-19T21:46:31+00:00</updated>
<author>
<name>Halil Pasic</name>
<email>pasic@linux.vnet.ibm.com</email>
</author>
<published>2016-08-29T16:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=21f5eda9b8671744539c8295b9df62991fffb2ce'/>
<id>urn:sha1:21f5eda9b8671744539c8295b9df62991fffb2ce</id>
<content type='text'>
Since ef1b144d ("tools/virtio/ringtest: fix run-on-all.sh to work
without /dev/cpu") run-on-all.sh uses seq 0 $HOST_AFFINITY as the list
of ids of the CPUs to run the command on (assuming ids of online CPUs
are consecutive and start from 0), where $HOST_AFFINITY is the highest
CPU id in the system previously determined using lscpu.  This can fail
on systems with offline CPUs.

Instead let's use lscpu to determine the list of online CPUs.

Signed-off-by: Halil Pasic &lt;pasic@linux.vnet.ibm.com&gt;
Fixes: ef1b144d ("tools/virtio/ringtest: fix run-on-all.sh to work without
/dev/cpu")
Reviewed-by: Sascha Silbe &lt;silbe@linux.vnet.ibm.com&gt;
Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>ringtest: poll for new buffers once before updating event index</title>
<updated>2016-10-30T22:21:43+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2016-10-06T09:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=948a8ac2964f39161ebf832dea0aa1ced90101bb'/>
<id>urn:sha1:948a8ac2964f39161ebf832dea0aa1ced90101bb</id>
<content type='text'>
Updating the event index has a memory barrier and causes more work
on the other side to actually signal the event.  It is unnecessary
if a new buffer has already appeared on the ring, so poll once before
doing the update.

The effect of this on the 0.9 ring implementation is pretty much
invisible, but on the new-style ring it provides a consistent 3%
performance improvement.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ringtest: commonize implementation of poll_avail/poll_used</title>
<updated>2016-10-30T22:21:43+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2016-10-06T09:39:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=d3c3589b8b3cd4fabf4cd137facb42a7fb36bd7f'/>
<id>urn:sha1:d3c3589b8b3cd4fabf4cd137facb42a7fb36bd7f</id>
<content type='text'>
Provide new primitives used_empty/avail_empty and
build poll_avail/poll_used on top of it.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ringtest: use link-time optimization</title>
<updated>2016-10-30T22:21:42+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2016-10-06T09:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=44d65ea1615099ae252407f2554338d450cfdb1c'/>
<id>urn:sha1:44d65ea1615099ae252407f2554338d450cfdb1c</id>
<content type='text'>
By using -flto and -fwhole-program, all functions from the ring implementation
can be treated as static and possibly inlined.  Force this to happen through
the GCC flatten attribute.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ringtest: test build fix</title>
<updated>2016-08-15T02:01:23+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-08-14T20:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=52012619e5a2ca0491426c3712fb9054692d4a3c'/>
<id>urn:sha1:52012619e5a2ca0491426c3712fb9054692d4a3c</id>
<content type='text'>
Recent changes to ptr_ring broke the ringtest
which lacks a likely() stub. Fix it up.

Fixes: 982fb490c298896d15e9323a882f34a57c11ff56
	("ptr_ring: support zero length ring")
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>ptr_ring: support resizing multiple queues</title>
<updated>2016-07-01T09:32:17+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2016-06-30T06:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=59e6ae53248a72d83cec77dd704b6990b2394479'/>
<id>urn:sha1:59e6ae53248a72d83cec77dd704b6990b2394479</id>
<content type='text'>
Sometimes, we need support resizing multiple queues at once. This is
because it was not easy to recover to recover from a partial failure
of multiple queues resizing.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
