<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/include/linux/vringh.h, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.0.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-06-01T13:48:54Z</updated>
<entry>
<title>virtio: add explicit big-endian support to memory accessors</title>
<updated>2015-06-01T13:48:54Z</updated>
<author>
<name>Greg Kurz</name>
<email>gkurz@linux.vnet.ibm.com</email>
</author>
<published>2015-04-24T12:26:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7d82410950aa74adccf035c332e409af2bb93e92'/>
<id>urn:sha1:7d82410950aa74adccf035c332e409af2bb93e92</id>
<content type='text'>
The current memory accessors logic is:
- little endian if little_endian
- native endian (i.e. no byteswap) if !little_endian

If we want to fully support cross-endian vhost, we also need to be
able to convert to big endian.

Instead of changing the little_endian argument to some 3-value enum, this
patch changes the logic to:
- little endian if little_endian
- big endian if !little_endian

The native endian case is handled by all users with a trivial helper. This
patch doesn't change any functionality, nor it does add overhead.

Signed-off-by: Greg Kurz &lt;gkurz@linux.vnet.ibm.com&gt;

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>vringh: introduce vringh_is_little_endian() helper</title>
<updated>2015-06-01T13:48:52Z</updated>
<author>
<name>Greg Kurz</name>
<email>gkurz@linux.vnet.ibm.com</email>
</author>
<published>2015-04-24T12:24:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5da7b160b36a42f161980c5e20d3960d6d076fb8'/>
<id>urn:sha1:5da7b160b36a42f161980c5e20d3960d6d076fb8</id>
<content type='text'>
Signed-off-by: Greg Kurz &lt;gkurz@linux.vnet.ibm.com&gt;

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>vringh: update for virtio 1.0 APIs</title>
<updated>2014-12-15T21:49:28Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2014-12-11T23:10:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b9f7ac8c72894c19bf258a54ecaa708df4ffbe80'/>
<id>urn:sha1:b9f7ac8c72894c19bf258a54ecaa708df4ffbe80</id>
<content type='text'>
When switching everything over to virtio 1.0 memory access APIs,
I missed converting vringh.
Fortunately, it's straight-forward.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vringh: 64 bit features</title>
<updated>2014-12-15T21:49:23Z</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2014-12-11T22:36:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b97a8a90067896f99f0d636dbc2b89a953123fad'/>
<id>urn:sha1:b97a8a90067896f99f0d636dbc2b89a953123fad</id>
<content type='text'>
Pass u64 everywhere.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio: Introduce vringh wrappers in virtio_config</title>
<updated>2013-03-20T03:36:05Z</updated>
<author>
<name>Sjur Brændeland</name>
<email>sjur.brandeland@stericsson.com</email>
</author>
<published>2013-03-20T03:21:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3beee86a4b9374e38dba36b44e81f1423a0d6b54'/>
<id>urn:sha1:3beee86a4b9374e38dba36b44e81f1423a0d6b54</id>
<content type='text'>
Add wrappers for the host vrings to support loose
coupling between the virtio device and driver.

A new struct vringh_config_ops with the functions
find_vrhs() and del_vrhs() is added to the virtio_device
struct. This enables virtio drivers to manage virtio
host rings without detailed knowledge of how the
vrings are created and deleted.

The function vringh_notify() is added so vringh clients
can notify the other side that buffers are added to the
used-ring.

Cc: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
Signed-off-by: Sjur Brændeland &lt;sjur.brandeland@stericsson.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt; (constified vringh_config)
</content>
</entry>
<entry>
<title>vringh: host-side implementation of virtio rings.</title>
<updated>2013-03-20T03:35:33Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2013-03-20T03:20:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f87d0fbb579818fed3eeb0923cc253163ab93039'/>
<id>urn:sha1:f87d0fbb579818fed3eeb0923cc253163ab93039</id>
<content type='text'>
Getting use of virtio rings correct is tricky, and a recent patch saw
an implementation of in-kernel rings (as separate from userspace).

This abstracts the business of dealing with the virtio ring layout
from the access (userspace or direct); to do this, we use function
pointers, which gcc inlines correctly.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
ption value='linux-5.8.y'>linux-5.8.y</option>
<option value='linux-5.9.y'>linux-5.9.y</option>
<option value='linux-6.0.y'>linux-6.0.y</option>
<option value='linux-6.1.y'>linux-6.1.y</option>
<option value='linux-6.10.y'>linux-6.10.y</option>
<option value='linux-6.11.y'>linux-6.11.y</option>
<option value='linux-6.12.y' selected='selected'>linux-6.12.y</option>
<option value='linux-6.13.y'>linux-6.13.y</option>
<option value='linux-6.14.y'>linux-6.14.y</option>
<option value='linux-6.15.y'>linux-6.15.y</option>
<option value='linux-6.16.y'>linux-6.16.y</option>
<option value='linux-6.17.y'>linux-6.17.y</option>
<option value='linux-6.18.y'>linux-6.18.y</option>
<option value='linux-6.19.y'>linux-6.19.y</option>
<option value='linux-6.2.y'>linux-6.2.y</option>
<option value='linux-6.3.y'>linux-6.3.y</option>
<option value='linux-6.4.y'>linux-6.4.y</option>
<option value='linux-6.5.y'>linux-6.5.y</option>
<option value='linux-6.6.y'>linux-6.6.y</option>
<option value='linux-6.7.y'>linux-6.7.y</option>
<option value='linux-6.8.y'>linux-6.8.y</option>
<option value='linux-6.9.y'>linux-6.9.y</option>
<option value='linux-rolling-lts'>linux-rolling-lts</option>
<option value='linux-rolling-stable'>linux-rolling-stable</option>
<option value='master'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>Hosts the 0x221E linux distro kernel.</td><td class='sub right'>Ubuntu</td></tr></table>
<table class='tabs'><tr><td>
<a href='/distro/kernel/?h=linux-6.12.y'>summary</a><a href='/distro/kernel/refs/?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>refs</a><a class='active' href='/distro/kernel/log/arch/arm/vfp/vfp.h?h=linux-6.12.y'>log</a><a href='/distro/kernel/tree/arch/arm/vfp/vfp.h?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>tree</a><a href='/distro/kernel/commit/arch/arm/vfp/vfp.h?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>commit</a><a href='/distro/kernel/diff/arch/arm/vfp/vfp.h?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>diff</a></td><td class='form'><form class='right' method='get' action='/distro/kernel/log/arch/arm/vfp/vfp.h'>
<input type='hidden' name='h' value='linux-6.12.y'/><input type='hidden' name='id' value='4a0548c6681cd25b8d76e897e01bfb62ce93916d'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/distro/kernel/log/?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>root</a>/<a href='/distro/kernel/log/arch?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>arch</a>/<a href='/distro/kernel/log/arch/arm?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>arm</a>/<a href='/distro/kernel/log/arch/arm/vfp?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>vfp</a>/<a href='/distro/kernel/log/arch/arm/vfp/vfp.h?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d'>vfp.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/distro/kernel/log/arch/arm/vfp/vfp.h?h=linux-6.12.y&amp;id=4a0548c6681cd25b8d76e897e01bfb62ce93916d&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th></tr>
