[PULL 00/23] Pull bsd user 20211018 patches

Warner Losh posted 23 patches 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211018160458.1976-1-imp@bsdimp.com
Maintainers: Kyle Evans <kevans@freebsd.org>, Warner Losh <imp@bsdimp.com>
There is a newer version of this series
bsd-user/errno_defs.h                |  13 ++-
bsd-user/freebsd/meson.build         |   3 +
bsd-user/freebsd/os-sys.c            |  27 +++++
bsd-user/freebsd/strace.list         |  11 --
bsd-user/freebsd/target_os_elf.h     |  12 +--
bsd-user/freebsd/target_os_signal.h  |   3 +
bsd-user/freebsd/target_os_user.h    | 100 +------------------
bsd-user/i386/target_arch_cpu.h      |   2 -
bsd-user/i386/target_arch_signal.h   |   2 -
bsd-user/main.c                      |  10 +-
bsd-user/meson.build                 |   7 ++
bsd-user/mmap.c                      | 144 +++++++++++++++------------
bsd-user/qemu.h                      |  25 +++--
bsd-user/signal.c                    |  11 +-
bsd-user/syscall.c                   |  60 +----------
bsd-user/x86_64/target_arch_cpu.h    |   2 -
bsd-user/x86_64/target_arch_signal.h |   2 -
linux-user/meson.build               |   4 +
meson.build                          |  12 ++-
roms/seabios-hppa                    |   2 +-
20 files changed, 188 insertions(+), 264 deletions(-)
create mode 100644 bsd-user/freebsd/meson.build
create mode 100644 bsd-user/freebsd/os-sys.c
[PULL 00/23] Pull bsd user 20211018 patches
Posted by Warner Losh 2 years, 6 months ago
The following changes since commit c148a0572130ff485cd2249fbdd1a3260d5e10a4:

  Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20211016' into staging (2021-10-16 11:16:28 -0700)

are available in the Git repository at:

  git@gitlab.com:bsdimp/qemu.git tags/pull-bsd-user-20211018-pull-request

for you to fetch changes up to c2c72da45c2ab0c76af8d4bf27bf90824bc521af:

  bsd-user/signal: Create a dummy signal queueing function (2021-10-18 07:55:33 -0600)

----------------------------------------------------------------
bsd-user pull request: merge dependencies for next architectures

Merge the dependencies for arm, aarch64, and riscv64 architectures. This joins
together two patch series:

[PATCH v2 00/15] bsd-user: misc cleanup for aarch64 import

Prepare for aarch64 support (the next architecture to be upstreamed). As the
aarch64 emulation is more complete, it relies on a number of different items.
In some cases, I've pulled in the full support from bsd-user fork. In other
cases I've created a simple stub (as is the case for signals, which have
independent changes pending, so I wanted to be as minimal as possible.  Since
all pre-12.2 support was purged from the bsd-user fork, go ahead and remove it
here. FreeBSD 11.x goes ouft of support at the end of the month. Remove what
little multi-version support that's in upstream.

and

[PATCH v3 0/9] bsd-user mmap fixes
This series synchronizes mmap.c with the bsd-user fork. This is a mix of old bug
fixes pulled in from linux-user, as well as some newer fixes to adress bugs
found in check-tcg and recent FreeBSD developments. There are also a couple of
style commits. Updated to migrate debugging to qemu_log.

as well as a couple of minor rebase tweaks. In addition, the next two
architectures I plan on upstreaming (arm and riscv64) also have their prereqs
satisfied with this request.

----------------------------------------------------------------

Guy Yur (1):
  bsd-user/mmap.c: Don't mmap fd == -1 independently from MAP_ANON flag

Kyle Evans (1):
  bsd-user/mmap.c: Implement MAP_EXCL, required by jemalloc in head

Mikaël Urankar (2):
  bsd-user/mmap.c: Always zero MAP_ANONYMOUS memory in mmap_frag()
  bsd-user/mmap.c: check pread's return value to fix warnings with
    _FORTIFY_SOURCE

Stacey Son (1):
  bsd-user/errno_defs.h: Add internal error numbers

Warner Losh (18):
  bsd-user/mmap.c: MAP_ symbols are defined, so no need for ifdefs
  bsd-user/mmap.c: mmap return ENOMEM on overflow
  bsd-user/mmap.c: mmap prefer MAP_ANON for BSD
  bsd-user/mmap.c: Convert to qemu_log logging for mmap debugging
  bsd-user/mmap.c: assert that target_mprotect cannot fail
  meson: *-user: only descend into *-user when configured
  bsd-user/target_os-user.h: Remove support for FreeBSD older than 12.0
  bsd-user/strace.list: Remove support for FreeBSD versions older than
    12.0
  bsd-user: TARGET_RESET define is unused, remove it
  bsd-user: export get_errno and is_error from syscall.c
  bsd-user: move TARGET_MC_GET_CLEAR_RET to target_os_signal.h
  bsd-user/target_os_elf.h: Remove fallback ELF_HWCAP and reorder
  bsd-user/target_os_elf: If ELF_HWCAP2 is defined, publish it
  bsd-user: Remove used from TaskState
  bsd-user: Add stop_all_tasks
  bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interface
  bsd-user: Rename sigqueue to qemu_sigqueue
  bsd-user/signal: Create a dummy signal queueing function

 bsd-user/errno_defs.h                |  13 ++-
 bsd-user/freebsd/meson.build         |   3 +
 bsd-user/freebsd/os-sys.c            |  27 +++++
 bsd-user/freebsd/strace.list         |  11 --
 bsd-user/freebsd/target_os_elf.h     |  12 +--
 bsd-user/freebsd/target_os_signal.h  |   3 +
 bsd-user/freebsd/target_os_user.h    | 100 +------------------
 bsd-user/i386/target_arch_cpu.h      |   2 -
 bsd-user/i386/target_arch_signal.h   |   2 -
 bsd-user/main.c                      |  10 +-
 bsd-user/meson.build                 |   7 ++
 bsd-user/mmap.c                      | 144 +++++++++++++++------------
 bsd-user/qemu.h                      |  25 +++--
 bsd-user/signal.c                    |  11 +-
 bsd-user/syscall.c                   |  60 +----------
 bsd-user/x86_64/target_arch_cpu.h    |   2 -
 bsd-user/x86_64/target_arch_signal.h |   2 -
 linux-user/meson.build               |   4 +
 meson.build                          |  12 ++-
 roms/seabios-hppa                    |   2 +-
 20 files changed, 188 insertions(+), 264 deletions(-)
 create mode 100644 bsd-user/freebsd/meson.build
 create mode 100644 bsd-user/freebsd/os-sys.c

-- 
2.32.0