<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/linux-user/mips, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/linux-user/mips?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/linux-user/mips?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-08-19T22:47:57Z</updated>
<entry>
<title>linux-user/mips: Do not try to use removed R5900 CPU</title>
<updated>2024-08-19T22:47:57Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2024-08-14T10:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=f7e3d7521b41ada97c5344914d3c9bc6ed04c82a'/>
<id>urn:sha1:f7e3d7521b41ada97c5344914d3c9bc6ed04c82a</id>
<content type='text'>
R5900 emulation was removed in commit 823f2897bd.
Remove it from ELF parsing in order to avoid:

  $ qemu-mipsn32 ./test5900
  qemu-mipsn32: unable to find CPU model 'R5900'

This reverts commit 4d9e5a0eb7df6e98ac6cf5e16029f35dd05b9537.

Fixes: 823f2897bd ("target/mips: Disable R5900 support")
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20240814133928.6746-2-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Move tswap_siginfo out of target code</title>
<updated>2024-03-13T11:43:52Z</updated>
<author>
<name>Gustavo Romero</name>
<email>gustavo.romero@linaro.org</email>
</author>
<published>2024-03-09T03:08:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=4d6d8a05a0a6d102ca94e59a43804d65309921e3'/>
<id>urn:sha1:4d6d8a05a0a6d102ca94e59a43804d65309921e3</id>
<content type='text'>
Move tswap_siginfo from target code to handle_pending_signal. This will
allow some cleanups and having the siginfo ready to be used in gdbstub.

Signed-off-by: Gustavo Romero &lt;gustavo.romero@linaro.org&gt;
Suggested-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20240309030901.1726211-3-gustavo.romero@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>{linux,bsd}-user: Introduce get_task_state()</title>
<updated>2024-03-06T12:35:19Z</updated>
<author>
<name>Ilya Leoshkevich</name>
<email>iii@linux.ibm.com</email>
</author>
<published>2024-03-05T12:09:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=e4e5cb4a54403558defb4669a8c64cbd67713e1e'/>
<id>urn:sha1:e4e5cb4a54403558defb4669a8c64cbd67713e1e</id>
<content type='text'>
A CPU's TaskState is stored in the CPUState's void *opaque field,
accessing which is somewhat awkward due to having to use a cast.
Introduce a wrapper and use it everywhere.

Suggested-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;
Reviewed-by: Warner Losh &lt;imp@bsdimp.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20240219141628.246823-3-iii@linux.ibm.com&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20240305121005.3528075-4-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/mips: fix abort on integer overflow</title>
<updated>2023-10-18T22:32:16Z</updated>
<author>
<name>Mikulas Patocka</name>
<email>mpatocka@redhat.com</email>
</author>
<published>2023-09-28T19:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6fad9b4bb91dcc824f9c00a36ee843883b58313b'/>
<id>urn:sha1:6fad9b4bb91dcc824f9c00a36ee843883b58313b</id>
<content type='text'>
QEMU mips userspace emulation crashes with "qemu: unhandled CPU exception
0x15 - aborting" when one of the integer arithmetic instructions detects
an overflow.

This patch fixes it so that it delivers SIGFPE with FPE_INTOVF instead.

Cc: qemu-stable@nongnu.org
Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Message-Id: &lt;3ef979a8-3ee1-eb2d-71f7-d788ff88dd11@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Split out cpu/target_proc.h</title>
<updated>2023-09-01T20:33:09Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-08-24T00:13:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=121c8dd69d7fa91558954eadc11bb6ce0474713c'/>
<id>urn:sha1:121c8dd69d7fa91558954eadc11bb6ce0474713c</id>
<content type='text'>
Move the various open_cpuinfo functions into new files.
Move the m68k open_hardware function as well.
All other guest architectures get a boilerplate empty file.

Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h</title>
<updated>2023-08-08T20:27:15Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-08-02T22:17:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=da2b71fab63f2396396021917eed9d52f33a45c0'/>
<id>urn:sha1:da2b71fab63f2396396021917eed9d52f33a45c0</id>
<content type='text'>
Copy each guest kernel's default value, then bound it
against reserved_va or the host address space.

Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Define TASK_UNMAPPED_BASE in $guest/target_mman.h</title>
<updated>2023-08-08T20:24:27Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-08-02T21:29:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=2d708164e0475064e0e2167bd73e8570e22df1e0'/>
<id>urn:sha1:2d708164e0475064e0e2167bd73e8570e22df1e0</id>
<content type='text'>
Provide default values that are as close as possible to the
values used by the guest's kernel.

Tested-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Akihiko Odaki &lt;akihiko.odaki@daynix.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Split TARGET_PROT_* out of syscall_defs.h</title>
<updated>2023-07-15T07:02:32Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-07-07T20:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6edfca9eae639707b85d04b050bc7ff09330e58b'/>
<id>urn:sha1:6edfca9eae639707b85d04b050bc7ff09330e58b</id>
<content type='text'>
Move the values into the per-target target_mman.h headers

Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230707204054.8792-8-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Split TARGET_MAP_* out of syscall_defs.h</title>
<updated>2023-07-15T07:02:32Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2023-07-07T20:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=492fe4e75461d016d77913d0b3f7356a433ee8a1'/>
<id>urn:sha1:492fe4e75461d016d77913d0b3f7356a433ee8a1</id>
<content type='text'>
Move the values into the per-target target_mman.h headers

Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230707204054.8792-7-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user: Fix mips fp64 executables loading</title>
<updated>2023-05-17T05:20:29Z</updated>
<author>
<name>Daniil Kovalev</name>
<email>dkovalev@compiler-toolchain-for.me</email>
</author>
<published>2023-04-04T05:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=a0f8d2701b205d9d7986aa555e0566b13dc18fa0'/>
<id>urn:sha1:a0f8d2701b205d9d7986aa555e0566b13dc18fa0</id>
<content type='text'>
If a program requires fr1, we should set the FR bit of CP0 control status
register and add F64 hardware flag. The corresponding `else if` branch
statement is copied from the linux kernel sources (see `arch_check_elf` function
in linux/arch/mips/kernel/elf.c).

Signed-off-by: Daniil Kovalev &lt;dkovalev@compiler-toolchain-for.me&gt;
Reviewed-by: Jiaxun Yang &lt;jiaxun.yang@flygoat.com&gt;
Message-Id: &lt;20230404052153.16617-1-dkovalev@compiler-toolchain-for.me&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
</feed>
