<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target-unicore32, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/target-unicore32?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target-unicore32?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2016-12-20T20:52:12+00:00</updated>
<entry>
<title>Move target-* CPU file into a target/ folder</title>
<updated>2016-12-20T20:52:12+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2016-10-11T06:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fcf5ef2ab52c621a4617ebbef36bf43b4003f4c0'/>
<id>urn:sha1:fcf5ef2ab52c621a4617ebbef36bf43b4003f4c0</id>
<content type='text'>
We've currently got 18 architectures in QEMU, and thus 18 target-xxx
folders in the root folder of the QEMU source tree. More architectures
(e.g. RISC-V, AVR) are likely to be included soon, too, so the main
folder of the QEMU sources slowly gets quite overcrowded with the
target-xxx folders.
To disburden the main folder a little bit, let's move the target-xxx
folders into a dedicated target/ folder, so that target-xxx/ simply
becomes target/xxx/ instead.

Acked-by: Laurent Vivier &lt;laurent@vivier.eu&gt; [m68k part]
Acked-by: Bastian Koppelmann &lt;kbastian@mail.uni-paderborn.de&gt; [tricore part]
Acked-by: Michael Walle &lt;michael@walle.cc&gt; [lm32 part]
Acked-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt; [s390x part]
Reviewed-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt; [s390x part]
Acked-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt; [i386 part]
Acked-by: Artyom Tarasenko &lt;atar4qemu@gmail.com&gt; [sparc part]
Acked-by: Richard Henderson &lt;rth@twiddle.net&gt; [alpha part]
Acked-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt; [xtensa part]
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt; [ppc part]
Acked-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt; [cris&amp;microblaze part]
Acked-by: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt; [unicore32 part]
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>log: Add locking to large logging blocks</title>
<updated>2016-11-01T16:29:03+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2016-09-22T22:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1ee73216f4ccd2f3b6eb818feb165b3cf5a1944c'/>
<id>urn:sha1:1ee73216f4ccd2f3b6eb818feb165b3cf5a1944c</id>
<content type='text'>
Reuse the existing locking provided by stdio to keep in_asm, cpu,
op, op_opt, op_ind, and out_asm as contiguous blocks.

While it isn't possible to interleave e.g. in_asm or op_opt logs
because of the TB lock protecting all code generation, it is
possible to interleave cpu logs, or to interleave a cpu dump with
an out_asm dump.

For mingw32, we appear to have no viable solution for this.  The locking
functions are not properly exported from the system runtime library.

Reviewed-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>exec: move cpu_exec_init() calls to realize functions</title>
<updated>2016-10-24T19:29:16+00:00</updated>
<author>
<name>Laurent Vivier</name>
</author>
<published>2016-10-20T11:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ce5b1bbf624b977a55ff7f85bb3871682d03baff'/>
<id>urn:sha1:ce5b1bbf624b977a55ff7f85bb3871682d03baff</id>
<content type='text'>
Modify all CPUs to call it from XXX_cpu_realizefn() function.

Remove all the cannot_destroy_with_object_finalize_yet as
unsafe references have been moved to cpu_exec_realizefn().
(tested with QOM command provided by commit 4c315c27)

for arm:

Setting of cpu-&gt;mp_affinity is moved from arm_cpu_initfn()
to arm_cpu_realizefn() as setting of cpu_index is now done
in cpu_exec_realizefn(). To avoid to overwrite an user defined
value, we set it to an invalid value by default, and update
it in realize function only if the value is still invalid.

Signed-off-by: Laurent Vivier &lt;lvivier@redhat.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Reviewed-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Reviewed-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>target-*: Clean up cpu.h header guards</title>
<updated>2016-07-12T14:19:16+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-29T09:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=07f5a258750b3b9a6e10fd5ec3e29c9a943b650e'/>
<id>urn:sha1:07f5a258750b3b9a6e10fd5ec3e29c9a943b650e</id>
<content type='text'>
Most of them use guard symbols like CPU_$target_H, but we also have
__MIPS_CPU_H__ and __TRICORE_CPU_H__.  They all upset
scripts/clean-header-guards.pl.

The script dislikes CPU_$target_H because they don't match their file
name (they should, to make guard collisions less likely).  The others
are reserved identifiers.

Clean them all up: use guard symbol $target_CPU_H for
target-$target/cpu.h.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>Use #include "..." for our own headers, &lt;...&gt; for others</title>
<updated>2016-07-12T14:19:16+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2016-06-22T17:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a9c94277f07d19d3eb14f199c3e93491aa3eae0e'/>
<id>urn:sha1:a9c94277f07d19d3eb14f199c3e93491aa3eae0e</id>
<content type='text'>
Tracked down with an ugly, brittle and probably buggy Perl script.

Also move includes converted to &lt;...&gt; up so they get included before
ours where that's obviously okay.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Eric Blake &lt;eblake@redhat.com&gt;
Tested-by: Eric Blake &lt;eblake@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
</content>
</entry>
<entry>
<title>Fix confusing argument names in some common functions</title>
<updated>2016-07-12T12:06:08+00:00</updated>
<author>
<name>Sergey Sorokin</name>
</author>
<published>2016-06-14T12:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b35399bb4e9968296a12303b00f9f2066470e987'/>
<id>urn:sha1:b35399bb4e9968296a12303b00f9f2066470e987</id>
<content type='text'>
There are functions tlb_fill(), cpu_unaligned_access() and
do_unaligned_access() that are called with access type and mmu index
arguments. But these arguments are named 'is_write' and 'is_user' in their
declarations. The patches fix the arguments to avoid a confusion.

Signed-off-by: Sergey Sorokin &lt;afarallax@yandex.ru&gt;
Reviewed-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
Acked-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Message-id: 1465907177-1399402-1-git-send-email-afarallax@yandex.ru
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging</title>
<updated>2016-06-29T18:14:48+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2016-06-29T18:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1ec20c2a3aa5b90522d15fccf7f052a90f70ddaa'/>
<id>urn:sha1:1ec20c2a3aa5b90522d15fccf7f052a90f70ddaa</id>
<content type='text'>
* serial port fixes (Paolo)
* Q35 modeling improvements (Paolo, Vasily)
* chardev cleanup improvements (Marc-André)
* iscsi bugfix (Peter L.)
* cpu_exec patch from multi-arch patches (Peter C.)
* pci-assign tweak (Lin Ma)

# gpg: Signature made Wed 29 Jun 2016 15:56:30 BST
# gpg:                using RSA key 0xBFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini &lt;bonzini@gnu.org&gt;"
# gpg:                 aka "Paolo Bonzini &lt;pbonzini@redhat.com&gt;"
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (35 commits)
  socket: unlink unix socket on remove
  socket: add listen feature
  char: clean up remaining chardevs when leaving
  vhost-user: disable chardev handlers on close
  vhost-user-test: fix g_cond_wait_until compat implementation
  vl: smp_parse: fix regression
  ich9: implement SCI_IRQ_SEL register
  ich9: implement ACPI_EN register
  serial: reinstate watch after migration
  serial: remove watch on reset
  char: change qemu_chr_fe_add_watch to return unsigned
  serial: separate serial_xmit and serial_watch_cb
  serial: simplify tsr_retry reset
  serial: make tsr_retry unsigned
  iscsi: fix assertion in is_sector_request_lun_aligned
  target-*: Don't redefine cpu_exec()
  pci-assign: Move "Invalid ROM" error message to pci-assign-load-rom.c
  vnc: generalize "VNC server running on ..." message
  scsi: esp: fix migration
  MC146818 RTC: add GPIO access to output IRQ
  ...

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>target-*: Don't redefine cpu_exec()</title>
<updated>2016-06-29T12:03:47+00:00</updated>
<author>
<name>Peter Crosthwaite</name>
</author>
<published>2015-07-18T09:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8642c1b81e0418df066a7960a7426d85a923a253'/>
<id>urn:sha1:8642c1b81e0418df066a7960a7426d85a923a253</id>
<content type='text'>
This function needs to be converted to QOM hook and virtualised for
multi-arch. This rename interferes, as cpu-qom will not have access
to the renaming causing name divergence. This rename doesn't really do
anything anyway so just delete it.

Signed-off-by: Peter Crosthwaite &lt;crosthwaite.peter@gmail.com&gt;
Message-Id: &lt;69bd25a8678b8b31b91cd9760c777bed1aafb44e.1437212383.git.crosthwaite.peter@gmail.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Signed-off-by: Peter Crosthwaite &lt;crosthwaitepeter@gmail.com&gt;
</content>
</entry>
<entry>
<title>softfloat: Implement run-time-configurable meaning of signaling NaN bit</title>
<updated>2016-06-24T12:40:37+00:00</updated>
<author>
<name>Aleksandar Markovic</name>
</author>
<published>2016-06-10T09:57:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=af39bc8c49224771ec0d38f1b693ea78e221d7bc'/>
<id>urn:sha1:af39bc8c49224771ec0d38f1b693ea78e221d7bc</id>
<content type='text'>
This patch modifies SoftFloat library so that it can be configured in
run-time in relation to the meaning of signaling NaN bit, while, at the
same time, strictly preserving its behavior on all existing platforms.

Background:

In floating-point calculations, there is a need for denoting undefined or
unrepresentable values. This is achieved by defining certain floating-point
numerical values to be NaNs (which stands for "not a number"). For additional
reasons, virtually all modern floating-point unit implementations use two
kinds of NaNs: quiet and signaling. The binary representations of these two
kinds of NaNs, as a rule, differ only in one bit (that bit is, traditionally,
the first bit of mantissa).

Up to 2008, standards for floating-point did not specify all details about
binary representation of NaNs. More specifically, the meaning of the bit
that is used for distinguishing between signaling and quiet NaNs was not
strictly prescribed. (IEEE 754-2008 was the first floating-point standard
that defined that meaning clearly, see [1], p. 35) As a result, different
platforms took different approaches, and that presented considerable
challenge for multi-platform emulators like QEMU.

Mips platform represents the most complex case among QEMU-supported
platforms regarding signaling NaN bit. Up to the Release 6 of Mips
architecture, "1" in signaling NaN bit denoted signaling NaN, which is
opposite to IEEE 754-2008 standard. From Release 6 on, Mips architecture
adopted IEEE standard prescription, and "0" denotes signaling NaN. On top of
that, Mips architecture for SIMD (also known as MSA, or vector instructions)
also specifies signaling bit in accordance to IEEE standard. MSA unit can be
implemented with both pre-Release 6 and Release 6 main processor units.

QEMU uses SoftFloat library to implement various floating-point-related
instructions on all platforms. The current QEMU implementation allows for
defining meaning of signaling NaN bit during build time, and is implemented
via preprocessor macro called SNAN_BIT_IS_ONE.

On the other hand, the change in this patch enables SoftFloat library to be
configured in run-time. This configuration is meant to occur during CPU
initialization, at the moment when it is definitely known what desired
behavior for particular CPU (or any additional FPUs) is.

The change is implemented so that it is consistent with existing
implementation of similar cases. This means that structure float_status is
used for passing the information about desired signaling NaN bit on each
invocation of SoftFloat functions. The additional field in float_status is
called snan_bit_is_one, which supersedes macro SNAN_BIT_IS_ONE.

IMPORTANT:

This change is not meant to create any change in emulator behavior or
functionality on any platform. It just provides the means for SoftFloat
library to be used in a more flexible way - in other words, it will just
prepare SoftFloat library for usage related to Mips platform and its
specifics regarding signaling bit meaning, which is done in some of
subsequent patches from this series.

Further break down of changes:

  1) Added field snan_bit_is_one to the structure float_status, and
     correspondent setter function set_snan_bit_is_one().

  2) Constants &lt;float16|float32|float64|floatx80|float128&gt;_default_nan
     (used both internally and externally) converted to functions
     &lt;float16|float32|float64|floatx80|float128&gt;_default_nan(float_status*).
     This is necessary since they are dependent on signaling bit meaning.
     At the same time, for the sake of code cleanup and simplicity, constants
     &lt;floatx80|float128&gt;_default_nan_&lt;low|high&gt; (used only internally within
     SoftFloat library) are removed, as not needed.

  3) Added a float_status* argument to SoftFloat library functions
     XXX_is_quiet_nan(XXX a_), XXX_is_signaling_nan(XXX a_),
     XXX_maybe_silence_nan(XXX a_). This argument must be present in
     order to enable correct invocation of new version of functions
     XXX_default_nan(). (XXX is &lt;float16|float32|float64|floatx80|float128&gt;
     here)

  4) Updated code for all platforms to reflect changes in SoftFloat library.
     This change is twofolds: it includes modifications of SoftFloat library
     functions invocations, and an addition of invocation of function
     set_snan_bit_is_one() during CPU initialization, with arguments that
     are appropriate for each particular platform. It was established that
     all platforms zero their main CPU data structures, so snan_bit_is_one(0)
     in appropriate places is not added, as it is not needed.

[1] "IEEE Standard for Floating-Point Arithmetic",
    IEEE Computer Society, August 29, 2008.

Signed-off-by: Thomas Schwinge &lt;thomas@codesourcery.com&gt;
Signed-off-by: Maciej W. Rozycki &lt;macro@codesourcery.com&gt;
Signed-off-by: Aleksandar Markovic &lt;aleksandar.markovic@imgtec.com&gt;
Tested-by: Bastian Koppelmann &lt;kbastian@mail.uni-paderborn.de&gt;
Reviewed-by: Leon Alrae &lt;leon.alrae@imgtec.com&gt;
Tested-by: Leon Alrae &lt;leon.alrae@imgtec.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
[leon.alrae@imgtec.com:
 * cherry-picked 2 chunks from patch #2 to fix compilation warnings]
Signed-off-by: Leon Alrae &lt;leon.alrae@imgtec.com&gt;
</content>
</entry>
<entry>
<title>exec: [tcg] Track which vCPU is performing translation and execution</title>
<updated>2016-06-20T14:30:01+00:00</updated>
<author>
<name>Lluís Vilanova</name>
</author>
<published>2016-06-09T17:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7c2550432abe62f53e6df878ceba6ceaf71f0e7e'/>
<id>urn:sha1:7c2550432abe62f53e6df878ceba6ceaf71f0e7e</id>
<content type='text'>
Information is tracked inside the TCGContext structure, and later used
by tracing events with the 'tcg' and 'vcpu' properties.

The 'cpu' field is used to check tracing of translation-time
events ("*_trans"). The 'tcg_env' field is used to pass it to
execution-time events ("*_exec").

Signed-off-by: Lluís Vilanova &lt;vilanova@ac.upc.edu&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;rth@twiddle.net&gt;
Message-id: 146549350162.18437.3033661139638458143.stgit@fimbulvetr.bsc.es
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
</feed>
