mbox

[00/60] linux-user and tcg patch queue

Message ID 20240301230619.661008-1-richard.henderson@linaro.org
State New
Headers show

Pull-request

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

Message

Richard Henderson March 1, 2024, 11:05 p.m. UTC
The following changes since commit c0c6a0e3528b88aaad0b9d333e295707a195587b:

  Merge tag 'migration-next-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-28 17:27:10 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 04dadd22aed00e5a2955ab078d7edd676812cf41:

  tests/tcg: Check that shmat() does not break /proc/self/maps (2024-03-01 08:09:55 -1000)

----------------------------------------------------------------
linux-user: Rewrite elf coredump
tcg/aarch64: Apple does not align __int128_t in even registers
accel/tcg: Fixes for page tables in mmio memory
linux-user: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN
migration: Remove qemu_host_page_size
hw/tpm: Remove qemu_host_page_size
softmmu: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN
linux-user: Split and reorganize target_mmap.
*-user: Deprecate and disable -p pagesize
linux-user: Allow TARGET_PAGE_BITS_VARY
target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only
target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only
target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only
linux-user: Remove pgb_dynamic alignment assertion
tcg/optimize: fix uninitialized variable
linux-user: Rewrite shmat

----------------------------------------------------------------
Ilya Leoshkevich (1):
      tests/tcg: Check that shmat() does not break /proc/self/maps

Jonathan Cameron (1):
      tcg: Avoid double lock if page tables happen to be in mmio memory.

Paolo Bonzini (1):
      tcg/optimize: fix uninitialized variable

Peter Maydell (1):
      accel/tcg: Set can_do_io at at start of lookup_tb_ptr helper

Richard Henderson (56):
      linux-user/elfload: Disable core dump if getrlimit fails
      linux-user/elfload: Merge init_note_info and fill_note_info
      linux-user/elfload: Tidy fill_note_info and struct elf_note_info
      linux-user/elfload: Stack allocate struct mm_struct
      linux-user/elfload: Latch errno before cleanup in elf_core_dump
      linux-user/elfload: Open core file after vma_init
      linux-user/elfload: Truncate core file on open
      linux-user/elfload: Lock cpu list and mmap during elf_core_dump
      linux-user/elfload: Size corefile before opening
      linux-user/elfload: Write corefile elf header in one block
      linux-user/elfload: Write process memory to core file in larger chunks
      linux-user/elfload: Simplify vma_dump_size
      linux-user/elfload: Rely on walk_memory_regions for vmas
      linux-user/elfload: Unprotect regions before core dump
      tcg/aarch64: Apple does not align __int128_t in even registers
      accel/tcg: Remove qemu_host_page_size from page_protect/page_unprotect
      linux-user: Adjust SVr4 NULL page mapping
      linux-user: Remove qemu_host_page_{size, mask} in probe_guest_base
      linux-user: Remove qemu_host_page_size from create_elf_tables
      linux-user/hppa: Simplify init_guest_commpage
      linux-user/nios2: Remove qemu_host_page_size from init_guest_commpage
      linux-user/arm: Remove qemu_host_page_size from init_guest_commpage
      linux-user: Remove qemu_host_page_size from elf_core_dump
      linux-user: Remove qemu_host_page_{size, mask} from mmap.c
      linux-user: Remove REAL_HOST_PAGE_ALIGN from mmap.c
      linux-user: Remove HOST_PAGE_ALIGN from mmap.c
      migration: Remove qemu_host_page_size
      hw/tpm: Remove HOST_PAGE_ALIGN from tpm_ppi_init
      softmmu/physmem: Remove qemu_host_page_size
      softmmu/physmem: Remove HOST_PAGE_ALIGN
      linux-user: Remove qemu_host_page_size from main
      linux-user: Split out target_mmap__locked
      linux-user: Move some mmap checks outside the lock
      linux-user: Fix sub-host-page mmap
      linux-user: Split out mmap_end
      linux-user: Do early mmap placement only for reserved_va
      linux-user: Split out do_munmap
      linux-user: Use do_munmap for target_mmap failure
      linux-user: Split out mmap_h_eq_g
      linux-user: Split out mmap_h_lt_g
      linux-user: Split out mmap_h_gt_g
      tests/tcg: Remove run-test-mmap-*
      tests/tcg: Extend file in linux-madvise.c
      *-user: Deprecate and disable -p pagesize
      cpu: Remove page_size_init
      accel/tcg: Disconnect TargetPageDataNode from page size
      linux-user: Allow TARGET_PAGE_BITS_VARY
      target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only
      linux-user: Bound mmap_min_addr by host page size
      target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only
      target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only
      linux-user: Remove pgb_dynamic alignment assertion
      linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2,4}
      linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA
      linux-user: Add strace for shmat
      linux-user: Rewrite target_shmat

 docs/about/deprecated.rst                    |  10 +
 docs/user/main.rst                           |   3 -
 bsd-user/qemu.h                              |   7 +
 include/exec/cpu-common.h                    |   7 -
 include/hw/core/cpu.h                        |   2 -
 linux-user/loongarch64/target_syscall.h      |   7 -
 target/alpha/cpu-param.h                     |  16 +-
 target/arm/cpu-param.h                       |   6 +-
 target/ppc/cpu-param.h                       |   9 +-
 tcg/aarch64/tcg-target.h                     |   6 +-
 accel/tcg/cpu-exec.c                         |   8 +
 accel/tcg/cputlb.c                           |  34 +-
 accel/tcg/translate-all.c                    |   1 -
 accel/tcg/user-exec.c                        |  31 +-
 bsd-user/main.c                              |  23 +-
 cpu-target.c                                 |  16 -
 hw/tpm/tpm_ppi.c                             |   6 +-
 linux-user/elfload.c                         | 789 ++++++++--------------
 linux-user/main.c                            |  34 +-
 linux-user/mmap.c                            | 939 +++++++++++++++++----------
 linux-user/strace.c                          |  24 +
 linux-user/syscall.c                         |  16 +
 migration/ram.c                              |  22 +-
 system/physmem.c                             |  17 +-
 system/vl.c                                  |   1 -
 target/arm/cpu.c                             |  51 +-
 tcg/optimize.c                               |   3 +-
 tests/tcg/multiarch/linux/linux-madvise.c    |   2 +
 tests/tcg/multiarch/linux/linux-shmat-maps.c |  55 ++
 linux-user/strace.list                       |   2 +-
 tests/tcg/alpha/Makefile.target              |   3 -
 tests/tcg/arm/Makefile.target                |   3 -
 tests/tcg/hppa/Makefile.target               |   3 -
 tests/tcg/i386/Makefile.target               |   3 -
 tests/tcg/m68k/Makefile.target               |   3 -
 tests/tcg/multiarch/Makefile.target          |   9 -
 tests/tcg/ppc/Makefile.target                |  12 -
 tests/tcg/sh4/Makefile.target                |   3 -
 tests/tcg/sparc64/Makefile.target            |   6 -
 39 files changed, 1156 insertions(+), 1036 deletions(-)
 create mode 100644 tests/tcg/multiarch/linux/linux-shmat-maps.c
 delete mode 100644 tests/tcg/ppc/Makefile.target
 delete mode 100644 tests/tcg/sparc64/Makefile.target

Comments

Peter Maydell March 5, 2024, 11:17 a.m. UTC | #1
On Fri, 1 Mar 2024 at 23:07, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The following changes since commit c0c6a0e3528b88aaad0b9d333e295707a195587b:
>
>   Merge tag 'migration-next-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-28 17:27:10 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240301
>
> for you to fetch changes up to 04dadd22aed00e5a2955ab078d7edd676812cf41:
>
>   tests/tcg: Check that shmat() does not break /proc/self/maps (2024-03-01 08:09:55 -1000)
>
> ----------------------------------------------------------------
> linux-user: Rewrite elf coredump
> tcg/aarch64: Apple does not align __int128_t in even registers
> accel/tcg: Fixes for page tables in mmio memory
> linux-user: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN
> migration: Remove qemu_host_page_size
> hw/tpm: Remove qemu_host_page_size
> softmmu: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN
> linux-user: Split and reorganize target_mmap.
> *-user: Deprecate and disable -p pagesize
> linux-user: Allow TARGET_PAGE_BITS_VARY
> target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only
> target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only
> target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only
> linux-user: Remove pgb_dynamic alignment assertion
> tcg/optimize: fix uninitialized variable
> linux-user: Rewrite shmat
>



Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/9.0
for any user-visible changes.

-- PMM