<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/linux-user/aarch64, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/linux-user/aarch64?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/linux-user/aarch64?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-07-05T11:35:14Z</updated>
<entry>
<title>target/arm: Factor out code for setting MTE TCF0 field</title>
<updated>2024-07-05T11:35:14Z</updated>
<author>
<name>Gustavo Romero</name>
<email>gustavo.romero@linaro.org</email>
</author>
<published>2024-07-05T08:40:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=bef6a77f6da8bdba7dca36aec4976b434d0d8f1c'/>
<id>urn:sha1:bef6a77f6da8bdba7dca36aec4976b434d0d8f1c</id>
<content type='text'>
Factor out the code used for setting the MTE TCF0 field from the prctl
code into a convenient function. Other subsystems, like gdbstub, need to
set this field as well, so keep it as a separate function to avoid
duplication and ensure consistency in how this field is set across the
board.

Signed-off-by: Gustavo Romero &lt;gustavo.romero@linaro.org&gt;
Message-Id: &lt;20240628050850.536447-7-gustavo.romero@linaro.org&gt;
[AJB: clean-up includes, move MTE defines]
Reviewed-by: Manos Pitsidianakis &lt;manos.pitsidianakis@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20240705084047.857176-36-alex.bennee@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/aarch64: Choose SYNC as the preferred MTE mode</title>
<updated>2024-02-15T11:30:44Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-02-15T11:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=681dfc0d552963d4d598350d26097a692900b408'/>
<id>urn:sha1:681dfc0d552963d4d598350d26097a692900b408</id>
<content type='text'>
The API does not generate an error for setting ASYNC | SYNC; that merely
constrains the selection vs the per-cpu default.  For qemu linux-user,
choose SYNC as the default.

Cc: qemu-stable@nongnu.org
Reported-by: Gustavo Romero &lt;gustavo.romero@linaro.org&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Tested-by: Gustavo Romero &lt;gustavo.romero@linaro.org&gt;
Message-id: 20240207025210.8837-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>linux-user/aarch64: Add padding before __kernel_rt_sigreturn</title>
<updated>2024-02-03T06:46:10Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2024-02-02T03:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=6400be014f80e4c2c246eb8be709ea3a96428233'/>
<id>urn:sha1:6400be014f80e4c2c246eb8be709ea3a96428233</id>
<content type='text'>
Without this padding, an unwind through the signal handler
will pick up the unwind info for the preceding syscall.

This fixes gcc's 30_threads/thread/native_handle/cancel.cc.

Cc: qemu-stable@nongnu.org
Fixes: ee95fae075c6 ("linux-user/aarch64: Add vdso")
Resolves: https://linaro.atlassian.net/browse/GNU-974
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20240202034427.504686-1-richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'pull-lu-20231030' of https://gitlab.com/rth7680/qemu into staging</title>
<updated>2023-10-30T22:12:40Z</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@redhat.com</email>
</author>
<published>2023-10-30T22:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=516fffc9933cb21fad41ca8f7bf465d238d4d375'/>
<id>urn:sha1:516fffc9933cb21fad41ca8f7bf465d238d4d375</id>
<content type='text'>
linux-user: Fix guest signal remapping after adjusting SIGABRT
linux-user: Implement VDSOs

* tag 'pull-lu-20231030' of https://gitlab.com/rth7680/qemu: (21 commits)
  build: Add update-linux-vdso makefile rule
  linux-user: Show vdso address in /proc/pid/maps
  linux-user/s390x: Add vdso
  linux-user/s390x: Rename __SIGNAL_FRAMESIZE to STACK_FRAME_OVERHEAD
  linux-user/ppc: Add vdso
  linux-user/loongarch64: Add vdso
  linux-user/riscv: Add vdso
  linux-user/hppa: Add vdso
  linux-user/arm: Add vdso
  linux-user/aarch64: Add vdso
  linux-user/x86_64: Add vdso
  linux-user/i386: Add vdso
  linux-user: Add gen-vdso tool
  linux-user: Load vdso image if available
  linux-user: Replace bprm-&gt;fd with bprm-&gt;src.fd
  linux-user: Use ImageSource in load_symbols
  linux-user: Use ImageSource in load_elf_image
  linux-user: Do not clobber bprm_buf swapping ehdr
  linux-user: Tidy loader_exec
  linux-user: Introduce imgsrc_read, imgsrc_read_alloc
  ...

Conflicts:
  linux-user/arm/signal.c
  Fix an #include context conflict.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>linux-user/aarch64: Add vdso</title>
<updated>2023-10-30T20:41:55Z</updated>
<author>
<name>Richard Henderson</name>
<email>richard.henderson@linaro.org</email>
</author>
<published>2021-06-15T17:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=ee95fae075c68cf1ae0fc1ffb00acca685bfb2c8'/>
<id>urn:sha1:ee95fae075c68cf1ae0fc1ffb00acca685bfb2c8</id>
<content type='text'>
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>target/arm: Move feature test functions to their own header</title>
<updated>2023-10-27T10:44:32Z</updated>
<author>
<name>Peter Maydell</name>
<email>peter.maydell@linaro.org</email>
</author>
<published>2023-10-24T16:35:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=5a534314a85b735f766aa64b35697ed1d59f7068'/>
<id>urn:sha1:5a534314a85b735f766aa64b35697ed1d59f7068</id>
<content type='text'>
The feature test functions isar_feature_*() now take up nearly
a thousand lines in target/arm/cpu.h. This header file is included
by a lot of source files, most of which don't need these functions.
Move the feature test functions to their own header file.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20231024163510.2972081-2-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>linux-user: Emulate /proc/cpuinfo on aarch64 and arm</title>
<updated>2023-09-01T20:33:36Z</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2023-08-03T21:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=a55b9e72267085957cadb0af0a8811cfbd7c61a9'/>
<id>urn:sha1:a55b9e72267085957cadb0af0a8811cfbd7c61a9</id>
<content type='text'>
Add emulation for /proc/cpuinfo for arm architecture.
The output below mimics output as seen on debian porterboxes.

aarch64 output example:

processor       : 0
model name      : ARMv8 Processor rev 0 (v8l)
BogoMIPS        : 100.00
Features        : swp half thumb fast_mult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x1
CPU part        : 0xd07
CPU revision    : 0

arm 32-bit output example:

processor	: 0
model name	: ARMv7 Processor rev 5 (armv7l)
BogoMIPS	: 100.00
Features	: swp half thumb fast_mult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0f
CPU part	: 0xc07
CPU revision	: 5

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20230803214450.647040-3-deller@gmx.de&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>
</feed>
