<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/docs/atomics.txt, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/docs/atomics.txt?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/docs/atomics.txt?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2017-06-07T16:22:03+00:00</updated>
<entry>
<title>docs: create config/, devel/ and spin/ subdirectories</title>
<updated>2017-06-07T16:22:03+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2017-06-06T14:46:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ac06724a715864942e2b5e28f92d5d5421f0a0b0'/>
<id>urn:sha1:ac06724a715864942e2b5e28f92d5d5421f0a0b0</id>
<content type='text'>
Developer documentation should be its own manual.  As a start, move all
developer-oriented files to a separate directory.

Also move non-text files to their own directories: docs/config/ for
QEMU -readconfig input, and docs/spin/ for formal models to be used
with the SPIN model checker.

Reviewed-by: Daniel P. Berrange &lt;berrange@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>atomic: base mb_read/mb_set on load-acquire and store-release</title>
<updated>2016-10-24T13:27:15+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2016-09-19T09:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=803cf26a9e019b5d2256a8edeb22e3538c4f3261'/>
<id>urn:sha1:803cf26a9e019b5d2256a8edeb22e3538c4f3261</id>
<content type='text'>
This introduces load-acquire and store-release operations in QEMU.
For now, just use them as an implementation detail of atomic_mb_read
and atomic_mb_set.

Since docs/atomics.txt documents that atomic_mb_read only synchronizes
with an atomic_mb_set of the same variable, we can use the new implementation
everywhere instead of seq-cst loads and stores.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>atomic: introduce smp_mb_acquire and smp_mb_release</title>
<updated>2016-10-24T09:30:55+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2016-09-19T08:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f1ee86963b9a7bc6a60b823dbf682fd0a62ffcc4'/>
<id>urn:sha1:f1ee86963b9a7bc6a60b823dbf682fd0a62ffcc4</id>
<content type='text'>
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/atomics: update comparison with Linux</title>
<updated>2016-05-29T07:11:11+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2016-05-25T12:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a4a0e4b258b2034559a546927794f477025d55d6'/>
<id>urn:sha1:a4a0e4b258b2034559a546927794f477025d55d6</id>
<content type='text'>
Over time, some differences between QEMU and Linux atomics are getting
smoothed.  In particular, Linux grew atomic_fetch_or (and in general
the differences regarding RMW operations were not described accurately)
and smp_load_acquire/smp_store_release.  Also, set_mb was renamed to
smp_store_mb().  Include these changes in the documentation.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/atomics: update atomic_read/set comparison with Linux</title>
<updated>2016-05-29T07:11:11+00:00</updated>
<author>
<name>Emilio G. Cota</name>
</author>
<published>2016-05-24T20:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=56ebe02203f033a8399f7f6ea6972225ed87101c'/>
<id>urn:sha1:56ebe02203f033a8399f7f6ea6972225ed87101c</id>
<content type='text'>
Recently Linux did a mass conversion of its atomic_read/set calls
so that they at least are READ/WRITE_ONCE. See Linux's commit
62e8a325 ("atomic, arch: Audit atomic_{read,set}()"). It seems though
that their documentation hasn't been updated to reflect this.

The appended updates our documentation to reflect the change, which
means there is effectively no difference between our atomic_read/set
and the current Linux implementation.

While at it, fix the statement that a barrier is implied by
atomic_read/set, which is incorrect. Volatile/atomic semantics prevent
transformations pertaining the variable they apply to; this, however,
has no effect on surrounding statements like barriers do. For more
details on this, see:
  https://gcc.gnu.org/onlinedocs/gcc/Volatiles.html

Signed-off-by: Emilio G. Cota &lt;cota@braap.org&gt;
Message-Id: &lt;1464120374-8950-2-git-send-email-cota@braap.org&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/atomics.txt: Update pointer to linux macro</title>
<updated>2016-05-23T14:53:43+00:00</updated>
<author>
<name>Pranith Kumar</name>
</author>
<published>2016-05-02T14:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=dfc007f7f7aab982a8c22cbcb783d72b0db99705'/>
<id>urn:sha1:dfc007f7f7aab982a8c22cbcb783d72b0db99705</id>
<content type='text'>
Add a missing end brace and update doc to point to the latest access
macro. ACCESS_ONCE() is deprecated.

Signed-off-by: Pranith Kumar &lt;bobby.prani@gmail.com&gt;
Message-Id: &lt;1462198852-28694-1-git-send-email-bobby.prani@gmail.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs/atomics.txt: fix two typos</title>
<updated>2015-04-30T13:05:48+00:00</updated>
<author>
<name>Laszlo Ersek</name>
</author>
<published>2015-04-27T11:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d3e4abdddfcf70b2e678de1c6b9b1c6cd3ce541e'/>
<id>urn:sha1:d3e4abdddfcf70b2e678de1c6b9b1c6cd3ce541e</id>
<content type='text'>
Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
</content>
</entry>
<entry>
<title>add a header file for atomic operations</title>
<updated>2013-07-04T15:42:49+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2013-05-13T11:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5444e768ee1abe6e021bece19a9a932351f88c88'/>
<id>urn:sha1:5444e768ee1abe6e021bece19a9a932351f88c88</id>
<content type='text'>
We're already using them in several places, but __sync builtins are just
too ugly to type, and do not provide seqcst load/store operations.

Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
