[PULL 00/47] tcg + linux-user patch queue

Richard Henderson posted 47 patches 9 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230715135317.7219-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Riku Voipio <riku.voipio@iki.fi>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, Laurent Vivier <laurent@vivier.eu>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Weiwei Li <liweiwei@iscas.ac.cn>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
There is a newer version of this series
accel/tcg/internal.h               |   30 +-
accel/tcg/tcg-runtime.h            |    2 +-
bsd-user/qemu.h                    |    2 +-
include/exec/cpu-all.h             |   40 +-
include/exec/helper-proto-common.h |    2 +
include/exec/user/abitypes.h       |    5 +-
linux-user/aarch64/target_mman.h   |    8 +
linux-user/alpha/target_mman.h     |   13 +
linux-user/generic/target_mman.h   |   58 +
linux-user/hppa/target_mman.h      |   10 +
linux-user/mips/target_mman.h      |   18 +
linux-user/mips64/target_mman.h    |    2 +-
linux-user/ppc/target_mman.h       |    8 +
linux-user/qemu.h                  |    2 +-
linux-user/sparc/target_mman.h     |    9 +
linux-user/syscall_defs.h          | 2260 +++++++++++++++++-------------------
linux-user/user-mmap.h             |    2 +-
linux-user/xtensa/target_mman.h    |   18 +
accel/tcg/cpu-exec.c               |   63 +-
accel/tcg/cputlb.c                 |    2 +-
accel/tcg/tb-maint.c               |  242 ++--
accel/tcg/translate-all.c          |   43 +-
accel/tcg/translator.c             |   34 +-
accel/tcg/user-exec.c              |   74 +-
bsd-user/mmap.c                    |   50 +-
linux-user/elfload.c               |   21 +-
linux-user/mmap.c                  |  704 +++++------
linux-user/strace.c                |   61 +-
linux-user/syscall.c               |   68 +-
target/hppa/op_helper.c            |    2 +-
target/riscv/vector_helper.c       |    2 +-
target/sparc/ldst_helper.c         |    2 +-
tcg/tcg-op-ldst.c                  |    2 +-
tcg/tcg.c                          |    2 +-
accel/tcg/atomic_common.c.inc      |    2 +-
accel/tcg/ldst_atomicity.c.inc     |    4 +-
36 files changed, 2043 insertions(+), 1824 deletions(-)
[PULL 00/47] tcg + linux-user patch queue
Posted by Richard Henderson 9 months, 4 weeks ago
The following changes since commit 4633c1e2c576fbabfe5c8c93f4b842504b69c096:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2023-07-14 16:39:46 +0100)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20230715

for you to fetch changes up to 76f9d6ad19494290eb2f00d33c6a582ce3447991:

  tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128 (2023-07-15 08:02:49 +0100)

----------------------------------------------------------------
tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128
accel/tcg: Introduce page_check_range_empty
accel/tcg: Introduce page_find_range_empty
accel/tcg: Accept more page flags in page_check_range
accel/tcg: Return bool from page_check_range
accel/tcg: Always lock pages before translation
linux-user: Use abi_* types for target structures in syscall_defs.h
linux-user: Fix abi_llong alignment for microblaze and nios2
linux-user: Fix do_shmat type errors
linux-user: Implement execve without execveat
linux-user: Make sure initial brk is aligned
linux-user: Use a mask with strace flags
linux-user: Implement MAP_FIXED_NOREPLACE
linux-user: Widen target_mmap offset argument to off_t
linux-user: Use page_find_range_empty for mmap_find_vma_reserved
linux-user: Use 'last' instead of 'end' in target_mmap and subroutines
linux-user: Remove can_passthrough_madvise
linux-user: Simplify target_madvise
linux-user: Drop uint and ulong types
linux-user/arm: Do not allocate a commpage at all for M-profile CPUs
bsd-user: Use page_check_range_empty for MAP_EXCL
bsd-user: Use page_find_range_empty for mmap_find_vma_reserved

----------------------------------------------------------------
Andreas Schwab (1):
      linux-user: Make sure initial brk(0) is page-aligned

Juan Quintela (1):
      linux-user: Drop uint and ulong

Philippe Mathieu-Daudé (1):
      linux-user/arm: Do not allocate a commpage at all for M-profile CPUs

Pierrick Bouvier (1):
      linux-user/syscall: Implement execve without execveat

Richard Henderson (43):
      linux-user: Reformat syscall_defs.h
      linux-user: Remove #if 0 block in syscall_defs.h
      linux-user: Use abi_uint not uint32_t in syscall_defs.h
      linux-user: Use abi_int not int32_t in syscall_defs.h
      linux-user: Use abi_ullong not uint64_t in syscall_defs.h
      linux-user: Use abi_llong not int64_t in syscall_defs.h
      linux-user: Use abi_uint not unsigned int in syscall_defs.h
      linux-user: Use abi_ullong not unsigned long long in syscall_defs.h
      linux-user: Use abi_llong not long long in syscall_defs.h
      linux-user: Use abi_int not int in syscall_defs.h
      linux-user: Use abi_ushort not unsigned short in syscall_defs.h
      linux-user: Use abi_short not short in syscall_defs.h
      linux-user: Use abi_uint not unsigned in syscall_defs.h
      include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze
      include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2
      linux-user: Fix do_shmat type errors
      accel/tcg: Split out cpu_exec_longjmp_cleanup
      tcg: Fix info_in_idx increment in layout_arg_by_ref
      linux-user: Fix formatting of mmap.c
      linux-user/strace: Expand struct flags to hold a mask
      linux-user: Split TARGET_MAP_* out of syscall_defs.h
      linux-user: Split TARGET_PROT_* out of syscall_defs.h
      linux-user: Populate more bits in mmap_flags_tbl
      accel/tcg: Introduce page_check_range_empty
      bsd-user: Use page_check_range_empty for MAP_EXCL
      linux-user: Implement MAP_FIXED_NOREPLACE
      linux-user: Split out target_to_host_prot
      linux-user: Widen target_mmap offset argument to off_t
      linux-user: Rewrite target_mprotect
      linux-user: Rewrite mmap_frag
      accel/tcg: Introduce page_find_range_empty
      bsd-user: Use page_find_range_empty for mmap_find_vma_reserved
      linux-user: Use page_find_range_empty for mmap_find_vma_reserved
      linux-user: Use 'last' instead of 'end' in target_mmap
      linux-user: Rewrite mmap_reserve
      linux-user: Rename mmap_reserve to mmap_reserve_or_unmap
      linux-user: Simplify target_munmap
      accel/tcg: Accept more page flags in page_check_range
      accel/tcg: Return bool from page_check_range
      linux-user: Remove can_passthrough_madvise
      linux-user: Simplify target_madvise
      accel/tcg: Always lock pages before translation
      tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128

 accel/tcg/internal.h               |   30 +-
 accel/tcg/tcg-runtime.h            |    2 +-
 bsd-user/qemu.h                    |    2 +-
 include/exec/cpu-all.h             |   40 +-
 include/exec/helper-proto-common.h |    2 +
 include/exec/user/abitypes.h       |    5 +-
 linux-user/aarch64/target_mman.h   |    8 +
 linux-user/alpha/target_mman.h     |   13 +
 linux-user/generic/target_mman.h   |   58 +
 linux-user/hppa/target_mman.h      |   10 +
 linux-user/mips/target_mman.h      |   18 +
 linux-user/mips64/target_mman.h    |    2 +-
 linux-user/ppc/target_mman.h       |    8 +
 linux-user/qemu.h                  |    2 +-
 linux-user/sparc/target_mman.h     |    9 +
 linux-user/syscall_defs.h          | 2260 +++++++++++++++++-------------------
 linux-user/user-mmap.h             |    2 +-
 linux-user/xtensa/target_mman.h    |   18 +
 accel/tcg/cpu-exec.c               |   63 +-
 accel/tcg/cputlb.c                 |    2 +-
 accel/tcg/tb-maint.c               |  242 ++--
 accel/tcg/translate-all.c          |   43 +-
 accel/tcg/translator.c             |   34 +-
 accel/tcg/user-exec.c              |   74 +-
 bsd-user/mmap.c                    |   50 +-
 linux-user/elfload.c               |   21 +-
 linux-user/mmap.c                  |  704 +++++------
 linux-user/strace.c                |   61 +-
 linux-user/syscall.c               |   68 +-
 target/hppa/op_helper.c            |    2 +-
 target/riscv/vector_helper.c       |    2 +-
 target/sparc/ldst_helper.c         |    2 +-
 tcg/tcg-op-ldst.c                  |    2 +-
 tcg/tcg.c                          |    2 +-
 accel/tcg/atomic_common.c.inc      |    2 +-
 accel/tcg/ldst_atomicity.c.inc     |    4 +-
 36 files changed, 2043 insertions(+), 1824 deletions(-)

Re: [PULL 00/47] tcg + linux-user patch queue
Posted by Richard Henderson 9 months, 4 weeks ago
On 7/15/23 14:52, Richard Henderson wrote:
> The following changes since commit 4633c1e2c576fbabfe5c8c93f4b842504b69c096:
> 
>    Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu  into staging (2023-07-14 16:39:46 +0100)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/rth7680/qemu.git  tags/pull-tcg-20230715
> 
> for you to fetch changes up to 76f9d6ad19494290eb2f00d33c6a582ce3447991:
> 
>    tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128 (2023-07-15 08:02:49 +0100)
> 
> ----------------------------------------------------------------
> tcg: Use HAVE_CMPXCHG128 instead of CONFIG_CMPXCHG128
> accel/tcg: Introduce page_check_range_empty
> accel/tcg: Introduce page_find_range_empty
> accel/tcg: Accept more page flags in page_check_range
> accel/tcg: Return bool from page_check_range
> accel/tcg: Always lock pages before translation
> linux-user: Use abi_* types for target structures in syscall_defs.h
> linux-user: Fix abi_llong alignment for microblaze and nios2
> linux-user: Fix do_shmat type errors
> linux-user: Implement execve without execveat
> linux-user: Make sure initial brk is aligned
> linux-user: Use a mask with strace flags
> linux-user: Implement MAP_FIXED_NOREPLACE
> linux-user: Widen target_mmap offset argument to off_t
> linux-user: Use page_find_range_empty for mmap_find_vma_reserved
> linux-user: Use 'last' instead of 'end' in target_mmap and subroutines
> linux-user: Remove can_passthrough_madvise
> linux-user: Simplify target_madvise
> linux-user: Drop uint and ulong types
> linux-user/arm: Do not allocate a commpage at all for M-profile CPUs
> bsd-user: Use page_check_range_empty for MAP_EXCL
> bsd-user: Use page_find_range_empty for mmap_find_vma_reserved

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.


r~