<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/xtensa, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/hw/xtensa?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/xtensa?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-05-06T22:27:40+00:00</updated>
<entry>
<title>hw/xtensa: fix reset value of MIROUT register of MX PIC</title>
<updated>2022-05-06T22:27:40+00:00</updated>
<author>
<name>Max Filippov</name>
</author>
<published>2022-04-26T16:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c6f3f334d157ff6b9bdc4e1b9d9874234138836a'/>
<id>urn:sha1:c6f3f334d157ff6b9bdc4e1b9d9874234138836a</id>
<content type='text'>
MX PIC comes out of reset with IRQ routing registers set to 0, thus
not delivering any external IRQ to any connected CPU by default.
Fix the model to match the hardware.

Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
</content>
</entry>
<entry>
<title>Replace TARGET_WORDS_BIGENDIAN</title>
<updated>2022-04-06T08:50:37+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-03-23T15:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ee3eb3a7ce7242735e6fd64cad53482e3df5a5ec'/>
<id>urn:sha1:ee3eb3a7ce7242735e6fd64cad53482e3df5a5ec</id>
<content type='text'>
Convert the TARGET_WORDS_BIGENDIAN macro, similarly to what was done
with HOST_BIG_ENDIAN. The new TARGET_BIG_ENDIAN macro is either 0 or 1,
and thus should always be defined to prevent misuse.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Suggested-by: Halil Pasic &lt;pasic@linux.ibm.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20220323155743.1585078-8-marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use g_new() &amp; friends where that makes obvious sense</title>
<updated>2022-03-21T14:44:44+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-03-15T14:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b21e2380376c470900fcadf47507f4d5ade75e85'/>
<id>urn:sha1:b21e2380376c470900fcadf47507f4d5ade75e85</id>
<content type='text'>
g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).

Patch created mechanically with:

    $ spatch --in-place --sp-file scripts/coccinelle/use-g_new-etc.cocci \
	     --macro-file scripts/cocci-macro-file.h FILES...

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Cédric Le Goater &lt;clg@kaod.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Acked-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Message-Id: &lt;20220315144156.1595462-4-armbru@redhat.com&gt;
Reviewed-by: Pavel Dovgalyuk &lt;Pavel.Dovgalyuk@ispras.ru&gt;
</content>
</entry>
<entry>
<title>Do not include exec/address-spaces.h if it's not really necessary</title>
<updated>2021-05-02T15:24:51+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-04-16T17:13:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ee86213aa3ff73c49ced340e4d409943a1f752a3'/>
<id>urn:sha1:ee86213aa3ff73c49ced340e4d409943a1f752a3</id>
<content type='text'>
Stop including exec/address-spaces.h in files that don't need it.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210416171314.2074665-5-thuth@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>Do not include cpu.h if it's not really necessary</title>
<updated>2021-05-02T15:24:51+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-04-16T17:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1'/>
<id>urn:sha1:2068cabd3fb1f46dbdd8b24eeaded89a4c9d85e1</id>
<content type='text'>
Stop including cpu.h in files that don't need it.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210416171314.2074665-4-thuth@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>Do not include sysemu/sysemu.h if it's not really necessary</title>
<updated>2021-05-02T15:24:50+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2021-04-16T17:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4c386f8064ca3241a61341b5c5d5a70bbab496ab'/>
<id>urn:sha1:4c386f8064ca3241a61341b5c5d5a70bbab496ab</id>
<content type='text'>
Stop including sysemu/sysemu.h in files that don't need it.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210416171314.2074665-2-thuth@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>vl: make qemu_get_machine_opts static</title>
<updated>2020-12-15T17:51:55+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2020-11-02T14:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f2ce39b4f067fe8b8de6104a2d8ac558d35c330b'/>
<id>urn:sha1:f2ce39b4f067fe8b8de6104a2d8ac558d35c330b</id>
<content type='text'>
Machine options can be retrieved as properties of the machine object.
Encourage that by removing the "easy" accessor to machine options.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>load_elf: Remove unused address variables from callers</title>
<updated>2020-09-25T23:52:08+00:00</updated>
<author>
<name>BALATON Zoltan</name>
</author>
<published>2020-07-05T17:22:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=617160c9e1f8022563c33aa7fd204535d4d49f8c'/>
<id>urn:sha1:617160c9e1f8022563c33aa7fd204535d4d49f8c</id>
<content type='text'>
Several callers of load_elf() pass pointers for lowaddr and highaddr
parameters which are then not used for anything. This may stem from a
misunderstanding that load_elf need a value here but in fact it can
take NULL to ignore these values. Remove such unused variables and
pass NULL instead from callers that don't need these.

Signed-off-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Acked-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Acked-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Message-Id: &lt;20200705174020.BDD0174633F@zero.eik.bme.hu&gt;
Signed-off-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>qemu/atomic.h: rename atomic_ to qatomic_</title>
<updated>2020-09-23T15:07:44+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2020-09-23T10:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d73415a315471ac0b127ed3fad45c8ec5d711de1'/>
<id>urn:sha1:d73415a315471ac0b127ed3fad45c8ec5d711de1</id>
<content type='text'>
clang's C11 atomic_fetch_*() functions only take a C11 atomic type
pointer argument. QEMU uses direct types (int, etc) and this causes a
compiler error when a QEMU code calls these functions in a source file
that also included &lt;stdatomic.h&gt; via a system header file:

  $ CC=clang CXX=clang++ ./configure ... &amp;&amp; make
  ../util/async.c:79:17: error: address argument to atomic operation must be a pointer to _Atomic type ('unsigned int *' invalid)

Avoid using atomic_*() names in QEMU's atomic.h since that namespace is
used by &lt;stdatomic.h&gt;. Prefix QEMU's APIs with 'q' so that atomic.h
and &lt;stdatomic.h&gt; can co-exist. I checked /usr/include on my machine and
searched GitHub for existing "qatomic_" users but there seem to be none.

This patch was generated using:

  $ git grep -h -o '\&lt;atomic\(64\)\?_[a-z0-9_]\+' include/qemu/atomic.h | \
    sort -u &gt;/tmp/changed_identifiers
  $ for identifier in $(&lt;/tmp/changed_identifiers); do
        sed -i "s%\&lt;$identifier\&gt;%q$identifier%g" \
            $(git grep -I -l "\&lt;$identifier\&gt;")
    done

I manually fixed line-wrap issues and misaligned rST tables.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Acked-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20200923105646.47864-1-stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/xtensa: implement NMI support</title>
<updated>2020-08-21T19:48:14+00:00</updated>
<author>
<name>Max Filippov</name>
</author>
<published>2020-07-06T00:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a7d479ee51c5911c93ee931efe4c2413b54c8756'/>
<id>urn:sha1:a7d479ee51c5911c93ee931efe4c2413b54c8756</id>
<content type='text'>
When NMI is configured it is taken regardless of INTENABLE SR contents,
PS.INTLEVEL or PS.EXCM. It is cleared automatically once it's taken.

Add nmi_level to XtensaConfig, puth there NMI level from the overlay or
XCHAL_NUM_INTLEVELS + 1 when NMI is not configured. Add NMI mask to
INTENABLE SR and limit CINTLEVEL to nmi_level - 1 when determining
pending IRQ level in check_interrupt(). Always take and clear pending
interrupt at nmi_level in the handle_interrupt().

Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
</content>
</entry>
</feed>
