qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] c30d0b: accel/tcg: Call save_iotlb_data from


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] c30d0b: accel/tcg: Call save_iotlb_data from io_readx as well
Date: Sun, 06 Aug 2023 12:19:20 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: c30d0b861cea8539ee0acb55a1a949ed4b5ec82a
      
https://github.com/qemu/qemu/commit/c30d0b861cea8539ee0acb55a1a949ed4b5ec82a
  Author: Mikhail Tyutin <m.tyutin@yadro.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M accel/tcg/cputlb.c

  Log Message:
  -----------
  accel/tcg: Call save_iotlb_data from io_readx as well

Apply save_iotlb_data() to io_readx() as well as to io_writex().
This fixes SEGFAULT on qemu_plugin_hwaddr_phys_addr() call plugins
for addresses inside of MMIO region.

Signed-off-by: Dmitriy Solovev <d.solovev@yadro.com>
Signed-off-by: Mikhail Tyutin <m.tyutin@yadro.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230804110903.19968-1-m.tyutin@yadro.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6c78de6eb6f986b2e06e95fabad62731a44aaafd
      
https://github.com/qemu/qemu/commit/6c78de6eb6f986b2e06e95fabad62731a44aaafd
  Author: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M gdbstub/gdbstub.c

  Log Message:
  -----------
  gdbstub: use 0 ("any process") on packets with no PID

Previously, qemu-user would always report PID 1 to GDB. This was changed
at dc14a7a6e9 (gdbstub: Report the actual qemu-user pid, 2023-06-30),
but read_thread_id() still considers GDB packets with "no PID" as "PID
1", which is not the qemu-user PID. Fix that by parsing "no PID" as "0",
which the GDB Remote Protocol defines as "any process".

Note that this should have no effect for system emulation as, in this
case, gdb_create_default_process() will assign PID 1 for the first
process and that is what the gdbstub uses for GDB requests with no PID,
or PID 0.

This issue was found with hexagon-lldb, which sends a "Hg" packet with
only the thread-id, but no process-id, leading to the invalid usage of
"PID 1" by qemu-hexagon and a subsequent "E22" reply.

Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: 
<78a3b06f6ab90a7ff8e73ae14a996eb27ec76c85.1690904195.git.quic_mathbern@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 89e5b7935e92af6f3b4e4cdb19dfddef4e9dde36
      
https://github.com/qemu/qemu/commit/89e5b7935e92af6f3b4e4cdb19dfddef4e9dde36
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Fix linux-user host detection for riscv64

Mirror the host_arch variable from meson.build, so that we
probe for the correct linux-user/include/host/ directory.

Fixes: e3e477c3bca0 ("configure: Fix cross-building for RISCV host")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4333f0924c2f2ca8efaebaed8c24f55f77d8b013
      
https://github.com/qemu/qemu/commit/4333f0924c2f2ca8efaebaed8c24f55f77d8b013
  Author: Nathan Egge <negge@xiph.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user/elfload: Set V in ELF_HWCAP for RISC-V

Set V bit for hwcap if misa is set.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793
Signed-off-by: Nathan Egge <negge@xiph.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230803131424.40744-1-negge@xiph.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c3dd50da0f4d00fffe8ea5e211c2c189fe6ad4fb
      
https://github.com/qemu/qemu/commit/c3dd50da0f4d00fffe8ea5e211c2c189fe6ad4fb
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Unset MAP_FIXED_NOREPLACE for host

Passing MAP_FIXED_NOREPLACE to host will fail for reserved_va because
the address space is reserved with mmap.  Replace it with MAP_FIXED
in that case.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-2-akihiko.odaki@daynix.com>
[rth: Expand inline commentary.]
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: ddcdd8c48fc48b2d528756fc98f1ce0ec3d7b617
      
https://github.com/qemu/qemu/commit/ddcdd8c48fc48b2d528756fc98f1ce0ec3d7b617
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Fix MAP_FIXED_NOREPLACE on old kernels

The man page states:
> Note that older kernels which do not recognize the MAP_FIXED_NOREPLACE
> flag will typically (upon detecting a collision with a preexisting
> mapping) fall back to a “non-MAP_FIXED” type of behavior: they will
> return an address that is different from the requested address.
> Therefore, backward-compatible software should check the returned
> address against the requested address.
https://man7.org/linux/man-pages/man2/mmap.2.html

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-3-akihiko.odaki@daynix.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0692f689747d5f0acf3245607771f79110a50309
      
https://github.com/qemu/qemu/commit/0692f689747d5f0acf3245607771f79110a50309
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Do not call get_errno() in do_brk()

Later the returned value is compared with -1, and negated errno is not
expected.

Fixes: 00faf08c95 ("linux-user: Don't use MAP_FIXED in do_brk()")
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-4-akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 988352d8abfe75ba1cb580ed3cc54b6ee46465fe
      
https://github.com/qemu/qemu/commit/988352d8abfe75ba1cb580ed3cc54b6ee46465fe
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Use MAP_FIXED_NOREPLACE for do_brk()

MAP_FIXED_NOREPLACE can ensure the mapped address is fixed without
concerning that the new mapping overwrites something else.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-5-akihiko.odaki@daynix.com>
[rth: Pass -1 as fd for MAP_ANON]
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a421dfc9dd71405f64841ec8f99ed48a2715766d
      
https://github.com/qemu/qemu/commit/a421dfc9dd71405f64841ec8f99ed48a2715766d
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Do nothing if too small brk is specified

Linux 6.4.7 does nothing when a value smaller than the initial brk is
specified.

Fixes: 86f04735ac ("linux-user: Fix brk() to release pages")
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-6-akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7b638e626d7210eae777b140bd52b2c15855ec1e
      
https://github.com/qemu/qemu/commit/7b638e626d7210eae777b140bd52b2c15855ec1e
  Author: Akihiko Odaki <akihiko.odaki@daynix.com>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

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

  Log Message:
  -----------
  linux-user: Do not align brk with host page size

do_brk() minimizes calls into target_mmap() by aligning the address
with host page size, which is potentially larger than the target page
size. However, the current implementation of this optimization has two
bugs:

- The start of brk is rounded up with the host page size while brk
  advertises an address aligned with the target page size as the
  beginning of brk. This makes the beginning of brk unmapped.
- Content clearing after mapping is flawed. The size to clear is
  specified as HOST_PAGE_ALIGN(brk_page) - brk_page, but brk_page is
  aligned with the host page size so it is always zero.

This optimization actually has no practical benefit. It makes difference
when brk() is called multiple times with values in a range of the host
page size. However, sophisticated memory allocators try to avoid to
make such frequent brk() calls. For example, glibc 2.37 calls brk() to
shrink the heap only when there is a room more than 128 KiB. It is
rare to have a page size larger than 128 KiB if it happens.

Let's remove the optimization to fix the bugs and make the code simpler.

Fixes: 86f04735ac ("linux-user: Fix brk() to release pages")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1616
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-7-akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 36d81a9f1233134de24f3b7db60cc5f92582e01b
      
https://github.com/qemu/qemu/commit/36d81a9f1233134de24f3b7db60cc5f92582e01b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/mmap.c
    M linux-user/user-mmap.h

  Log Message:
  -----------
  linux-user: Remove last_brk

This variable is unused.

Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e1dfc02d3d48a60d72183d3299b048c8bf9fff08
      
https://github.com/qemu/qemu/commit/e1dfc02d3d48a60d72183d3299b048c8bf9fff08
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M bsd-user/mmap.c
    M bsd-user/qemu.h

  Log Message:
  -----------
  bsd-user: Remove last_brk

This variable is unused.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 75acc01cd95b1f1a26fcac8915917cf912bc065e
      
https://github.com/qemu/qemu/commit/75acc01cd95b1f1a26fcac8915917cf912bc065e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

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

  Log Message:
  -----------
  linux-user: Properly set image_info.brk in flatload

The heap starts at "brk" not "start_brk".  With this fixed,
image_info.start_brk is unused and may be removed.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e568b7a20a504e80586e73e6387bb4328f321d25
      
https://github.com/qemu/qemu/commit/e568b7a20a504e80586e73e6387bb4328f321d25
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/main.c
    M linux-user/mmap.c
    M linux-user/user-mmap.h

  Log Message:
  -----------
  linux-user: Adjust task_unmapped_base for reserved_va

Ensure that the chosen values for mmap_next_start and
task_unmapped_base are within the guest address space.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f229c4a4fe5f61f7e945993bfb7dde1baf1a3719
      
https://github.com/qemu/qemu/commit/f229c4a4fe5f61f7e945993bfb7dde1baf1a3719
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/aarch64/target_mman.h
    M linux-user/alpha/target_mman.h
    M linux-user/arm/target_mman.h
    M linux-user/cris/target_mman.h
    M linux-user/hexagon/target_mman.h
    M linux-user/hppa/target_mman.h
    M linux-user/i386/target_mman.h
    M linux-user/loongarch64/target_mman.h
    M linux-user/m68k/target_mman.h
    M linux-user/microblaze/target_mman.h
    M linux-user/mips/target_mman.h
    M linux-user/nios2/target_mman.h
    M linux-user/openrisc/target_mman.h
    M linux-user/ppc/target_mman.h
    M linux-user/riscv/target_mman.h
    M linux-user/s390x/target_mman.h
    M linux-user/sh4/target_mman.h
    M linux-user/sparc/target_mman.h
    M linux-user/user-mmap.h
    M linux-user/x86_64/target_mman.h
    M linux-user/xtensa/target_mman.h

  Log Message:
  -----------
  linux-user: Define TASK_UNMAPPED_BASE in $guest/target_mman.h

Provide default values that are as close as possible to the
values used by the guest's kernel.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: cff7f7c1addb92d3ac5c448115ade9fa56aa7e6f
      
https://github.com/qemu/qemu/commit/cff7f7c1addb92d3ac5c448115ade9fa56aa7e6f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/aarch64/target_mman.h
    M linux-user/alpha/target_mman.h
    M linux-user/arm/target_mman.h
    M linux-user/cris/target_mman.h
    M linux-user/hexagon/target_mman.h
    M linux-user/hppa/target_mman.h
    M linux-user/i386/target_mman.h
    M linux-user/loongarch64/target_mman.h
    M linux-user/m68k/target_mman.h
    M linux-user/main.c
    M linux-user/microblaze/target_mman.h
    M linux-user/mips/target_mman.h
    M linux-user/mmap.c
    M linux-user/nios2/target_mman.h
    M linux-user/openrisc/target_mman.h
    M linux-user/ppc/target_mman.h
    M linux-user/riscv/target_mman.h
    M linux-user/s390x/target_mman.h
    M linux-user/sh4/target_mman.h
    M linux-user/sparc/target_mman.h
    M linux-user/user-mmap.h
    M linux-user/x86_64/target_mman.h
    M linux-user/xtensa/target_mman.h

  Log Message:
  -----------
  linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h

Copy each guest kernel's default value, then bound it
against reserved_va or the host address space.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: e641de26de46f385e627cc000605a1ce75d3245e
      
https://github.com/qemu/qemu/commit/e641de26de46f385e627cc000605a1ce75d3245e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Use elf_et_dyn_base for ET_DYN with interpreter

Follow the lead of the linux kernel in fs/binfmt_elf.c,
in which an ET_DYN executable which uses an interpreter
(usually a PIE executable) is loaded away from where the
interpreter itself will be loaded.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 403da73384f8e16f278ce708ae7ea0656d056d62
      
https://github.com/qemu/qemu/commit/403da73384f8e16f278ce708ae7ea0656d056d62
  Author: Helge Deller <deller@gmx.de>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

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

  Log Message:
  -----------
  linux-user: Adjust initial brk when interpreter is close to executable

While we attempt to load a ET_DYN executable far away from
TASK_UNMAPPED_BASE, we are not completely in control of the
address space layout.  If the interpreter lands close to
the executable, leaving insufficient heap space, move brk.

Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
[rth: Re-order after ELF_ET_DYN_BASE patch so that we do not
 "temporarily break" tsan, and also to minimize the changes required.
 Remove image_info.reserve_brk as unused.]
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 01ebfa6e5c34719b3ac55059e9eaab9b77bb2f5c
      
https://github.com/qemu/qemu/commit/01ebfa6e5c34719b3ac55059e9eaab9b77bb2f5c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Do not adjust image mapping for host page size

Remove TARGET_ELF_EXEC_PAGESIZE, and 3 other TARGET_ELF_PAGE* macros
based off of that.  Rely on target_mmap to handle guest vs host page
size mismatch.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c5e393d25433fdefb5074147971a9dd48b6099a8
      
https://github.com/qemu/qemu/commit/c5e393d25433fdefb5074147971a9dd48b6099a8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Do not adjust zero_bss for host page size

Rely on target_mmap to handle guest vs host page size mismatch.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 810dcb4ee013ac0eb5c393b809f200463f4d3177
      
https://github.com/qemu/qemu/commit/810dcb4ee013ac0eb5c393b809f200463f4d3177
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user: Use zero_bss for PT_LOAD with no file contents too

If p_filesz == 0, then vaddr_ef == vaddr.  We can reuse the
code in zero_bss rather than incompletely duplicating it in
load_elf_image.

Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 82c7e7d6eb19716b4f80839aec4f72d551417a93
      
https://github.com/qemu/qemu/commit/82c7e7d6eb19716b4f80839aec4f72d551417a93
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    M accel/tcg/cputlb.c
    M bsd-user/mmap.c
    M bsd-user/qemu.h
    M configure
    M gdbstub/gdbstub.c
    M linux-user/aarch64/target_mman.h
    M linux-user/alpha/target_mman.h
    M linux-user/arm/target_mman.h
    M linux-user/cris/target_mman.h
    M linux-user/elfload.c
    M linux-user/flatload.c
    M linux-user/hexagon/target_mman.h
    M linux-user/hppa/target_mman.h
    M linux-user/i386/target_mman.h
    M linux-user/loongarch64/target_mman.h
    M linux-user/m68k/target_mman.h
    M linux-user/main.c
    M linux-user/microblaze/target_mman.h
    M linux-user/mips/target_mman.h
    M linux-user/mmap.c
    M linux-user/nios2/target_mman.h
    M linux-user/openrisc/target_mman.h
    M linux-user/ppc/target_mman.h
    M linux-user/qemu.h
    M linux-user/riscv/target_mman.h
    M linux-user/s390x/target_mman.h
    M linux-user/sh4/target_mman.h
    M linux-user/sparc/target_mman.h
    M linux-user/syscall.c
    M linux-user/user-mmap.h
    M linux-user/x86_64/target_mman.h
    M linux-user/xtensa/target_mman.h

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

accel/tcg: Do not issue misaligned i/o
accel/tcg: Call save_iotlb_data from io_readx
gdbstub: use 0 ("any process") on packets with no PID
linux-user: Fixes for MAP_FIXED_NOREPLACE
linux-user: Fixes for brk
linux-user: Adjust task_unmapped_base for reserved_va
linux-user: Use ELF_ET_DYN_BASE for ET_DYN with interpreter
linux-user: Remove host != guest page size workarounds in brk and image load
linux-user: Set V in ELF_HWCAP for RISC-V
*-user: Remove last_brk as unused

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmTP8dsdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV9YjwgAoCWGJ/b0s4nLbkWr
# DOPd7X2tL8gzHqTaZEK0+JdTxAW7OB79Xd5hUBN5tb2HgniCLJQ7x8uXKKCTxY54
# nH9E3fxx8tDYHEceg3tvvAtM5Gz9YBF8nXt/wYeg+EejvybLl1PKO5AaZxsfrJI1
# NPTHbHiMqXIfS2fChcfd8xlQoinkGPQ+R0udKvjD8ePW8FndiUsgTL2QyNmKi0+G
# JWPLhdpG4fN0YxpQLkdmWXDK/bflk7bdN9kPaV329poLu/Z6KQMQXZy41AvvJMaZ
# V8Vlazpbb+Cb9TSYGxlAV1zkcvaxj66id0hMe+VPdPHg0AZobcu/zAtAFH/kL4+r
# cPlUdA==
# =CMRa
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 06 Aug 2023 12:17:47 PM PDT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[ultimate]

* tag 'pull-tcg-20230806' of https://gitlab.com/rth7680/qemu: (24 commits)
  linux-user: Use zero_bss for PT_LOAD with no file contents too
  linux-user: Do not adjust zero_bss for host page size
  linux-user: Do not adjust image mapping for host page size
  linux-user: Adjust initial brk when interpreter is close to executable
  linux-user: Use elf_et_dyn_base for ET_DYN with interpreter
  linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h
  linux-user: Define TASK_UNMAPPED_BASE in $guest/target_mman.h
  linux-user: Adjust task_unmapped_base for reserved_va
  linux-user: Properly set image_info.brk in flatload
  bsd-user: Remove last_brk
  linux-user: Remove last_brk
  linux-user: Do not align brk with host page size
  linux-user: Do nothing if too small brk is specified
  linux-user: Use MAP_FIXED_NOREPLACE for do_brk()
  linux-user: Do not call get_errno() in do_brk()
  linux-user: Fix MAP_FIXED_NOREPLACE on old kernels
  linux-user: Unset MAP_FIXED_NOREPLACE for host
  linux-user/elfload: Set V in ELF_HWCAP for RISC-V
  configure: Fix linux-user host detection for riscv64
  gdbstub: use 0 ("any process") on packets with no PID
  ...

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/d7fd7f9d7d9c...82c7e7d6eb19



reply via email to

[Prev in Thread] Current Thread [Next in Thread]