Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 05c84cf8df23b8dc81317ee0cea748e6199637f4
      
https://github.com/qemu/qemu/commit/05c84cf8df23b8dc81317ee0cea748e6199637f4
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/aarch64/cpu_loop.c
    M linux-user/arm/cpu_loop.c
    M linux-user/m68k/cpu_loop.c
    M linux-user/qemu.h
    M linux-user/riscv/cpu_loop.c
    M semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting: Retrieve stack top from image_info

Remove the write-once field TaskState.stack_base, and use the
same value from struct image_info.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 7adf9ebb0ac72637833f61e24e44def6228b4484
      
https://github.com/qemu/qemu/commit/7adf9ebb0ac72637833f61e24e44def6228b4484
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/aarch64/cpu_loop.c
    M linux-user/arm/cpu_loop.c
    M linux-user/m68k/cpu_loop.c
    M linux-user/qemu.h
    M linux-user/riscv/cpu_loop.c
    M semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting: Initialize heap once per process

While semihosting isn't really thread aware, the current
implementation allocates space for the heap per-thread.

Remove the heap_base and heap_limit fields from TaskState.
Replace with static variables within do_common_semihosting.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 58afe4cfe93be0e283e7a0fcd9a50fd52fc44169
      
https://github.com/qemu/qemu/commit/58afe4cfe93be0e283e7a0fcd9a50fd52fc44169
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    A linux-user/aarch64/elfload.c
    A linux-user/alpha/elfload.c
    A linux-user/arm/elfload.c
    A linux-user/hexagon/elfload.c
    A linux-user/hppa/elfload.c
    A linux-user/i386/elfload.c
    A linux-user/loongarch64/elfload.c
    A linux-user/m68k/elfload.c
    A linux-user/microblaze/elfload.c
    A linux-user/mips/elfload.c
    A linux-user/mips64/elfload.c
    A linux-user/openrisc/elfload.c
    A linux-user/ppc/elfload.c
    A linux-user/riscv/elfload.c
    A linux-user/s390x/elfload.c
    A linux-user/sh4/elfload.c
    A linux-user/sparc/elfload.c
    A linux-user/x86_64/elfload.c
    A linux-user/xtensa/elfload.c
    M meson.build

  Log Message:
  -----------
  linux-user: Create target/elfload.c files

Prepare to split the main linux-user/elfload.c.
Create empty files for each target, and add the common build rule.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: a859022ceaba12444f1a8f5a5efc5e76c7d5dc13
      
https://github.com/qemu/qemu/commit/a859022ceaba12444f1a8f5a5efc5e76c7d5dc13
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M hw/core/loader.c
    M include/qemu/osdep.h
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Move ppc uabi/asm/elf.h workaround to osdep.h

Move the workaround out of linux-user/elfload.c, so that
we don't have to replicate it in many places.  Place it
immediately after the include of <signal.h>, which draws
in the relevant symbols.

Note that ARCH_DLINFO is not defined by the kernel header,
and so there's no need to undef it either.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: af880af8d4624b619c9d44ff5d27440ae064f99a
      
https://github.com/qemu/qemu/commit/af880af8d4624b619c9d44ff5d27440ae064f99a
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/aarch64/elfload.c
    M linux-user/aarch64/target_elf.h
    M linux-user/alpha/elfload.c
    M linux-user/alpha/target_elf.h
    M linux-user/arm/elfload.c
    M linux-user/arm/target_elf.h
    M linux-user/hexagon/elfload.c
    M linux-user/hexagon/target_elf.h
    M linux-user/hppa/elfload.c
    M linux-user/hppa/target_elf.h
    M linux-user/i386/elfload.c
    M linux-user/i386/target_elf.h
    M linux-user/loader.h
    M linux-user/loongarch64/elfload.c
    M linux-user/loongarch64/target_elf.h
    M linux-user/m68k/elfload.c
    M linux-user/m68k/target_elf.h
    M linux-user/main.c
    M linux-user/microblaze/elfload.c
    M linux-user/microblaze/target_elf.h
    M linux-user/mips/elfload.c
    M linux-user/mips/target_elf.h
    M linux-user/mips64/target_elf.h
    M linux-user/openrisc/elfload.c
    M linux-user/openrisc/target_elf.h
    M linux-user/ppc/elfload.c
    M linux-user/ppc/target_elf.h
    M linux-user/riscv/elfload.c
    M linux-user/riscv/target_elf.h
    M linux-user/s390x/elfload.c
    M linux-user/s390x/target_elf.h
    M linux-user/sh4/elfload.c
    M linux-user/sh4/target_elf.h
    M linux-user/sparc/elfload.c
    M linux-user/sparc/target_elf.h
    M linux-user/x86_64/elfload.c
    M linux-user/x86_64/target_elf.h
    M linux-user/xtensa/elfload.c
    M linux-user/xtensa/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_cpu_model to target/elfload.c

Rename from cpu_get_model to emphasize that this is an elf-specific
function.  Declare the function once in loader.h.

This frees up target_elf.h for other uses.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 39476538942f0ae1eff5e03f08399ef1eeca0cc0
      
https://github.com/qemu/qemu/commit/39476538942f0ae1eff5e03f08399ef1eeca0cc0
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/i386/elfload.c
    M linux-user/i386/target_elf.h
    M linux-user/loader.h
    M linux-user/x86_64/elfload.c
    M linux-user/x86_64/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_hwcap to {i386,x86_64}/elfload.c

Change the return type to abi_ulong, and pass in the cpu.
Duplicate the one line function between i386 and x86_64,
as most other additions to elfload.c won't be common.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 2d0687a514c63956de6215978acdda4f55c190dd
      
https://github.com/qemu/qemu/commit/2d0687a514c63956de6215978acdda4f55c190dd
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/aarch64/elfload.c
    M linux-user/aarch64/target_elf.h
    M linux-user/arm/elfload.c
    M linux-user/arm/target_elf.h
    M linux-user/arm/target_proc.h
    M linux-user/elfload.c
    M linux-user/loader.h

  Log Message:
  -----------
  linux-user: Move hwcap functions to {arm,aarch64}/elfload.c

For get_elf_hwcap and get_elf_hwcap2, change the return type to
abi_ulong, and pass in the cpu.  We must do these targets at the
same time because of the ifdef dependency between TARGET_AARCH64
and TARGET_ARM.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e0f62c5a5b5c80d0a6b163a8113e5938b0b40d54
      
https://github.com/qemu/qemu/commit/e0f62c5a5b5c80d0a6b163a8113e5938b0b40d54
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/sparc/elfload.c
    M linux-user/sparc/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_hwcap to sparc/elfload.c

Change the return type to abi_ulong, and pass in the cpu.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: ea9d69159e013a5757e20bea0266b7c17303d961
      
https://github.com/qemu/qemu/commit/ea9d69159e013a5757e20bea0266b7c17303d961
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/ppc/elfload.c
    M linux-user/ppc/target_elf.h

  Log Message:
  -----------
  linux-user: Move hwcap functions to ppc/elfload.c

Change the return type to abi_ulong, and pass in the cpu.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 184e74b236df9ad42ddbf92011713259cd17caf1
      
https://github.com/qemu/qemu/commit/184e74b236df9ad42ddbf92011713259cd17caf1
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/loongarch64/elfload.c
    M linux-user/loongarch64/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_hwcap to loongarch64/elfload.c

Change the return type to abi_ulong, and pass in the cpu.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 48004ab0586ba01387efc37e7ada26607a1c183e
      
https://github.com/qemu/qemu/commit/48004ab0586ba01387efc37e7ada26607a1c183e
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/mips/elfload.c
    M linux-user/mips/target_elf.h
    M linux-user/mips64/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_hwcap to mips/elfload.c

Change the return type to abi_ulong, and pass in the cpu.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 92c9983c06fa0a55f120c71dda03e38d5220fccc
      
https://github.com/qemu/qemu/commit/92c9983c06fa0a55f120c71dda03e38d5220fccc
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/sh4/elfload.c
    M linux-user/sh4/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_hwcap to sh4/elfload.c

Change the return type to abi_ulong, and pass in the cpu.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 1d4774b60e3dfdc9295e36c5fa298b457d10db10
      
https://github.com/qemu/qemu/commit/1d4774b60e3dfdc9295e36c5fa298b457d10db10
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/s390x/elfload.c
    M linux-user/s390x/target_elf.h
    M linux-user/s390x/target_proc.h

  Log Message:
  -----------
  linux-user: Move hwcap functions to s390x/elfload.c

For get_elf_hwcap, change the return type to abi_ulong
and pass in the cpu.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 50e59ad0b7b1c71e858939504a749bf1a1313e2e
      
https://github.com/qemu/qemu/commit/50e59ad0b7b1c71e858939504a749bf1a1313e2e
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/riscv/elfload.c
    M linux-user/riscv/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_hwcap to riscv/elfload.c

Change the return type to abi_ulong, and pass in the cpu.
As this is the last instance of get_elf_hwcap to be converted,
remove the ifdef around the declaration in loader.h.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 0dbb0ba870a11366b061905b1a06baa973b642d6
      
https://github.com/qemu/qemu/commit/0dbb0ba870a11366b061905b1a06baa973b642d6
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Remove ELF_HWCAP

All real definitions of ELF_HWCAP are now identical, and the stub
definitions are 0.  Provide zero stub as a fallback definition.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: fcac98d0ba8b5f4c311c1059d897d74d1276af9d
      
https://github.com/qemu/qemu/commit/fcac98d0ba8b5f4c311c1059d897d74d1276af9d
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Remove ELF_HWCAP2

All definitions of ELF_HWCAP2 are now identical.  Provide a
not-reached stub as a fallback definition of get_elf_hwcap2.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 3c907dec45b66fff084fbddf18ee5bb84ddc5314
      
https://github.com/qemu/qemu/commit/3c907dec45b66fff084fbddf18ee5bb84ddc5314
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/i386/elfload.c
    M linux-user/i386/target_elf.h
    M linux-user/loader.h
    M linux-user/x86_64/elfload.c
    M linux-user/x86_64/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_platform to {i386,x86_64}/elfload.c

Move get_elf_platform to i386/elfload.c; pass in CPUState.
Create a simple get_elf_platform for x86_64.
Introduce HAVE_ELF_PLATFORM.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e03b6ad483c087c8cf0357b7859d98bd2b109071
      
https://github.com/qemu/qemu/commit/e03b6ad483c087c8cf0357b7859d98bd2b109071
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/i386/elfload.c

  Log Message:
  -----------
  linux-user/i386: Return const data from get_elf_platform

Rather than modify a static buffer, index into an array of const data.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: d6b8c5dbd9b0fd05c3f8ac9427729082eecb9fbb
      
https://github.com/qemu/qemu/commit/d6b8c5dbd9b0fd05c3f8ac9427729082eecb9fbb
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/aarch64/elfload.c
    M linux-user/aarch64/target_elf.h
    M linux-user/arm/elfload.c
    M linux-user/arm/target_elf.h
    M linux-user/elfload.c
    M linux-user/loader.h

  Log Message:
  -----------
  linux-user: Move get_elf_platform to arm/elfload.c

Move the aarch32 get_elf_platform to arm/elfload.c; pass in CPUState.
Create a simple version in aarch64/elfload.c, which we must do at the
same time because of the ifdef dependency between TARGET_AARCH64
and TARGET_ARM.

Since all versions of get_elf_platform now have the same
signature, remove the ifdef from the declaration in loader.h.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 084b3247a08da16c541efba059c308b0d9299bdc
      
https://github.com/qemu/qemu/commit/084b3247a08da16c541efba059c308b0d9299bdc
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loongarch64/elfload.c
    M linux-user/loongarch64/target_elf.h

  Log Message:
  -----------
  linux-user/loongarch64: Create get_elf_platform

Move the string literal to a new function.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: eaf983e04b342ab4c3401ad8add649ec626a0744
      
https://github.com/qemu/qemu/commit/eaf983e04b342ab4c3401ad8add649ec626a0744
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/hppa/elfload.c
    M linux-user/hppa/target_elf.h

  Log Message:
  -----------
  linux-user/hppa: Create get_elf_platform

Move the string literal to a new function.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: f10c3d90849da63916905f7bd155d5737aa4378f
      
https://github.com/qemu/qemu/commit/f10c3d90849da63916905f7bd155d5737aa4378f
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Remove ELF_PLATFORM

All real definitions of ELF_PLATFORM are now identical, and the stub
definitions are NULL.  Use HAVE_ELF_PLATFORM and provide a stub as a
fallback definition of get_elf_platform.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: f8498e084eaa7f78d455d5f2f7a308a4d0d5f39b
      
https://github.com/qemu/qemu/commit/f8498e084eaa7f78d455d5f2f7a308a4d0d5f39b
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/mips/elfload.c
    M linux-user/mips/target_elf.h
    M linux-user/mips64/target_elf.h

  Log Message:
  -----------
  linux-user: Move get_elf_base_platform to mips/elfload.c

Pass in CPUState; define HAVE_ELF_BASE_PLATFORM.
Since this was the only instance of ELF_BASE_PLATFORM, go ahead and
provide the stub definition for other platforms.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: d8329660b2e103ac2bbbf9ae933c0c742d44864e
      
https://github.com/qemu/qemu/commit/d8329660b2e103ac2bbbf9ae933c0c742d44864e
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M include/user/cpu_loop.h
    M linux-user/qemu.h

  Log Message:
  -----------
  linux-user: Move target_cpu_copy_regs decl to qemu.h

The function is not used by bsd-user, so placement
within include/user/cpu_loop.h is not ideal.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 1f2f4c0fbcc527f47e2f9d5708ae7df824bd574f
      
https://github.com/qemu/qemu/commit/1f2f4c0fbcc527f47e2f9d5708ae7df824bd574f
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/linuxload.c
    M linux-user/loader.h
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: Create do_init_main_thread

Provide a unified function to initialize the main thread.
Keep target_pt_regs isolated to this function.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 8d4020dd025dc37d9003c6a514e758d8c6ef99b9
      
https://github.com/qemu/qemu/commit/8d4020dd025dc37d9003c6a514e758d8c6ef99b9
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/i386/cpu_loop.c
    M linux-user/qemu.h

  Log Message:
  -----------
  linux-user/i386: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.
Temporarily introduce HAVE_INIT_MAIN_THREAD during conversion.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: ea8683d2b3777fcb934a075df8b63d45642097d6
      
https://github.com/qemu/qemu/commit/ea8683d2b3777fcb934a075df8b63d45642097d6
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/arm/cpu_loop.c
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user/arm: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e872342837ed61af5f2ed15541375adf0c23e0eb
      
https://github.com/qemu/qemu/commit/e872342837ed61af5f2ed15541375adf0c23e0eb
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/arm/cpu_loop.c

  Log Message:
  -----------
  linux-user/arm: Remove a.out startup remenents

The setting of r1/r2 was removed in kernel commit acfdd4b1f7590d0
("ARM: 7791/1: a.out: remove partial a.out support"), and the
kernel commit message explains the history.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 2eaaf04ad7f9eb5bd578f3f225d118c9eb0bef1d
      
https://github.com/qemu/qemu/commit/2eaaf04ad7f9eb5bd578f3f225d118c9eb0bef1d
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/aarch64/cpu_loop.c
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user/aarch64: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 7b9efb7aaef9b43b22fce7051861f59fe15ff51a
      
https://github.com/qemu/qemu/commit/7b9efb7aaef9b43b22fce7051861f59fe15ff51a
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/sparc/cpu_loop.c

  Log Message:
  -----------
  linux-user/sparc: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 88c9adef2b0fff84f0e9cbc728e860cfbad52008
      
https://github.com/qemu/qemu/commit/88c9adef2b0fff84f0e9cbc728e860cfbad52008
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/ppc/cpu_loop.c

  Log Message:
  -----------
  linux-user/ppc: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: a2c83f5156324b88cf5c92ed777648fc1aaccf7f
      
https://github.com/qemu/qemu/commit/a2c83f5156324b88cf5c92ed777648fc1aaccf7f
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loongarch64/cpu_loop.c

  Log Message:
  -----------
  linux-user/loongarch64: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Note that init_thread had set crmd in target_pt_regs, but
target_cpu_copy_regs did not copy to env.  This turns out to be
ok because loongarch_cpu_reset_hold initializes CRMD properly.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e17cc00f7195f387720cd839dcb83fd17c2147c9
      
https://github.com/qemu/qemu/commit/e17cc00f7195f387720cd839dcb83fd17c2147c9
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/mips/cpu_loop.c

  Log Message:
  -----------
  linux-user/mips: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Note that init_thread had set cp0_status in target_pt_regs, but
target_cpu_copy_regs did not copy to env.  This turns out to be
ok because mips_cpu_reset_hold initializes CP0_Status properly.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 2ffaa3f70dfbf07a3bdb1035fb4ba4e0f7f94de1
      
https://github.com/qemu/qemu/commit/2ffaa3f70dfbf07a3bdb1035fb4ba4e0f7f94de1
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/microblaze/cpu_loop.c

  Log Message:
  -----------
  linux-user/microblaze: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 83411d840cfd80d7288ea096d905413754a87c66
      
https://github.com/qemu/qemu/commit/83411d840cfd80d7288ea096d905413754a87c66
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/openrisc/cpu_loop.c

  Log Message:
  -----------
  linux-user/openrisc: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 011480ff599d76e62a0e49ddd21ba9023cdb0ec3
      
https://github.com/qemu/qemu/commit/011480ff599d76e62a0e49ddd21ba9023cdb0ec3
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/sh4/cpu_loop.c

  Log Message:
  -----------
  linux-user/sh4: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: ff053f9c5a4df1f0fb49ab7d7a0886a43f18a4f4
      
https://github.com/qemu/qemu/commit/ff053f9c5a4df1f0fb49ab7d7a0886a43f18a4f4
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/m68k/cpu_loop.c

  Log Message:
  -----------
  linux-user/m68k: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 6b523112baac10747446af9074d1281974767004
      
https://github.com/qemu/qemu/commit/6b523112baac10747446af9074d1281974767004
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/alpha/cpu_loop.c
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user/alpha: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Note that init_thread had set ps in target_pt_regs, but
target_cpu_copy_regs did not copy to env.  This turns out to be
ok because alpha_cpu_initfn initializes flags properly.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 592f36d13dd32d0a90f71266931a68f522617026
      
https://github.com/qemu/qemu/commit/592f36d13dd32d0a90f71266931a68f522617026
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/s390x/cpu_loop.c

  Log Message:
  -----------
  linux-user/s390x: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: a56cf00bc06a11627ec7b695618532d0d58cf8de
      
https://github.com/qemu/qemu/commit/a56cf00bc06a11627ec7b695618532d0d58cf8de
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/riscv/cpu_loop.c

  Log Message:
  -----------
  linux-user/riscv: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 1aec088719c5646b3117fd3b9c4507830f99f432
      
https://github.com/qemu/qemu/commit/1aec088719c5646b3117fd3b9c4507830f99f432
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/hppa/cpu_loop.c

  Log Message:
  -----------
  linux-user/hppa: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: ceff7f9ae996ec9bb78d463f054241c338dc979c
      
https://github.com/qemu/qemu/commit/ceff7f9ae996ec9bb78d463f054241c338dc979c
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/xtensa/cpu_loop.c

  Log Message:
  -----------
  linux-user/xtensa: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: f61c88c571e5e68cdf1d935d7524493a8f404556
      
https://github.com/qemu/qemu/commit/f61c88c571e5e68cdf1d935d7524493a8f404556
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/hexagon/cpu_loop.c

  Log Message:
  -----------
  linux-user/hexagon: Create init_main_thread

Merge init_thread and target_cpu_copy_regs.
There's no point going through a target_pt_regs intermediate.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e191623fb0694a08c372fb68c5634969addbcb7b
      
https://github.com/qemu/qemu/commit/e191623fb0694a08c372fb68c5634969addbcb7b
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/loader.h
    M linux-user/main.c
    M linux-user/qemu.h

  Log Message:
  -----------
  linux-user: Remove do_init_main_thread

All targets have been converted, so we can call init_main_thread
directly.  Remove do_init_main_thread and HAVE_INIT_MAIN_THREAD.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: f91563d011a0439cd6709e169cdfac268779d562
      
https://github.com/qemu/qemu/commit/f91563d011a0439cd6709e169cdfac268779d562
  Author: Joel Stanley <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/strace.list

  Log Message:
  -----------
  linux-user: Add strace for rseq

 build/qemu-riscv64 -cpu rv64,v=on -d strace  
build/tests/tcg/riscv64-linux-user/test-vstart-overflow
 1118081 riscv_hwprobe(0xffffbc038200,1,0,0,0,0) = 0
 1118081 brk(NULL) = 0x0000000000085000
 1118081 brk(0x0000000000085b00) = 0x0000000000085b00
 1118081 set_tid_address(0x850f0) = 1118081
 1118081 set_robust_list(0x85100,24) = -1 errno=38 (Function not implemented)
 1118081 rseq(0x857c0,32,0,0xf1401073) = -1 errno=38 (Function not implemented)

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>


  Commit: a5fbf1c617c5b51082d317601e0d4cf5eea5c140
      
https://github.com/qemu/qemu/commit/a5fbf1c617c5b51082d317601e0d4cf5eea5c140
  Author: Łukasz Stelmach <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: do not print IP socket options by default

IP protocols should not be printed unless the socket is an IPv4 or
IPv6 one. Current arrangement erroneously prints IPPROTO_IP for Unix
domain sockets.

Signed-off-by: Łukasz Stelmach <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>


  Commit: ca18b336e12c8433177a3cd639c5bf757952adaa
      
https://github.com/qemu/qemu/commit/ca18b336e12c8433177a3cd639c5bf757952adaa
  Author: Richard Henderson <[email protected]>
  Date:   2025-08-28 (Thu, 28 Aug 2025)

  Changed paths:
    M hw/core/loader.c
    M include/qemu/osdep.h
    M include/user/cpu_loop.h
    M linux-user/aarch64/cpu_loop.c
    A linux-user/aarch64/elfload.c
    M linux-user/aarch64/target_elf.h
    M linux-user/alpha/cpu_loop.c
    A linux-user/alpha/elfload.c
    M linux-user/alpha/target_elf.h
    M linux-user/arm/cpu_loop.c
    A linux-user/arm/elfload.c
    M linux-user/arm/target_elf.h
    M linux-user/arm/target_proc.h
    M linux-user/elfload.c
    M linux-user/hexagon/cpu_loop.c
    A linux-user/hexagon/elfload.c
    M linux-user/hexagon/target_elf.h
    M linux-user/hppa/cpu_loop.c
    A linux-user/hppa/elfload.c
    M linux-user/hppa/target_elf.h
    M linux-user/i386/cpu_loop.c
    A linux-user/i386/elfload.c
    M linux-user/i386/target_elf.h
    M linux-user/linuxload.c
    M linux-user/loader.h
    M linux-user/loongarch64/cpu_loop.c
    A linux-user/loongarch64/elfload.c
    M linux-user/loongarch64/target_elf.h
    M linux-user/m68k/cpu_loop.c
    A linux-user/m68k/elfload.c
    M linux-user/m68k/target_elf.h
    M linux-user/main.c
    M linux-user/microblaze/cpu_loop.c
    A linux-user/microblaze/elfload.c
    M linux-user/microblaze/target_elf.h
    M linux-user/mips/cpu_loop.c
    A linux-user/mips/elfload.c
    M linux-user/mips/target_elf.h
    A linux-user/mips64/elfload.c
    M linux-user/mips64/target_elf.h
    M linux-user/openrisc/cpu_loop.c
    A linux-user/openrisc/elfload.c
    M linux-user/openrisc/target_elf.h
    M linux-user/ppc/cpu_loop.c
    A linux-user/ppc/elfload.c
    M linux-user/ppc/target_elf.h
    M linux-user/qemu.h
    M linux-user/riscv/cpu_loop.c
    A linux-user/riscv/elfload.c
    M linux-user/riscv/target_elf.h
    M linux-user/s390x/cpu_loop.c
    A linux-user/s390x/elfload.c
    M linux-user/s390x/target_elf.h
    M linux-user/s390x/target_proc.h
    M linux-user/sh4/cpu_loop.c
    A linux-user/sh4/elfload.c
    M linux-user/sh4/target_elf.h
    M linux-user/sparc/cpu_loop.c
    A linux-user/sparc/elfload.c
    M linux-user/sparc/target_elf.h
    M linux-user/strace.c
    M linux-user/strace.list
    A linux-user/x86_64/elfload.c
    M linux-user/x86_64/target_elf.h
    M linux-user/xtensa/cpu_loop.c
    A linux-user/xtensa/elfload.c
    M linux-user/xtensa/target_elf.h
    M meson.build
    M semihosting/arm-compat-semi.c

  Log Message:
  -----------
  Merge tag 'pull-lu-20250828' of https://gitlab.com/rth7680/qemu into staging

linux-user: do not print IP socket options by default
linux-user: Add strace for rseq
linux-user: Move get_elf_cpu_model to target/elfload.c
linux-user: Move get_elf_hwcap to target/elfload.c
linux-user: Move get_elf_hwcap2 to target/elfload.c
linux-user: Move get_elf_platform to target/elfload.c
linux-user: Move get_elf_base_platform to target/elfload.c
linux-user: Create init_main_thread in target/cpu_loop.c
semihosting: Retrieve stack top from image_info
semihosting: Initialize heap once per process

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmive68dHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV+LwwgAsjSjc5Bjal0mc+UI
# Qmb7qbNM7YDhJ4o9eJoT7AfEo3AlR8vhA01/ayfBEKMxYStl4tkZU1jthb7LLTyS
# TfPBsZEBF/ZuTYLV56dfQ/6AJZ2g5OhqJbeVeD8Ef93JK60qgBerCK/D5SfphSfh
# TQtOG0LU2BXzGt8K3WghFxsFQeYcTrNeT5JdtIXYrmGQmDnPh3dOnQrFcO1leFLa
# khUfj7l7bE1Rgqo5h5pveaee4AD3VndYe10zvSVKHKjBL4Zd3hxf3MypNRpDFC0v
# ua9xt4qXtWgEYSkKPj/mipcd9fsb+RKs6kPA3oojwb8DCkFAZ0UogIwmd9/7lz8u
# FMp+iQ==
# =Nu63
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 28 Aug 2025 07:42:07 AM AEST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>" 
[ultimate]

* tag 'pull-lu-20250828' of https://gitlab.com/rth7680/qemu: (46 commits)
  linux-user: do not print IP socket options by default
  linux-user: Add strace for rseq
  linux-user: Remove do_init_main_thread
  linux-user/hexagon: Create init_main_thread
  linux-user/xtensa: Create init_main_thread
  linux-user/hppa: Create init_main_thread
  linux-user/riscv: Create init_main_thread
  linux-user/s390x: Create init_main_thread
  linux-user/alpha: Create init_main_thread
  linux-user/m68k: Create init_main_thread
  linux-user/sh4: Create init_main_thread
  linux-user/openrisc: Create init_main_thread
  linux-user/microblaze: Create init_main_thread
  linux-user/mips: Create init_main_thread
  linux-user/loongarch64: Create init_main_thread
  linux-user/ppc: Create init_main_thread
  linux-user/sparc: Create init_main_thread
  linux-user/aarch64: Create init_main_thread
  linux-user/arm: Remove a.out startup remenents
  linux-user/arm: Create init_main_thread
  ...

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/d35b9e4eae5e...ca18b336e12c

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications


Reply via email to