Skip to content

bsd-user: misc cleanup for aarch64 import

Warner Losh qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 23 repliesIn review
  2. v114 patches 35 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15meson: *-user: only descend into *-user when configuredbsd-user/meson.build linux-user/meson.build meson.build+9 -27 replies
2/15bsd-user/target_os-user.h: Remove support for FreeBSD older than 12.0bsd-user/freebsd/target_os_user.h+1 -991 reply
3/15bsd-user/strace.list: Remove support for FreeBSD versions older than 12.0bsd-user/freebsd/strace.list+0 -111 reply
4/15bsd-user: TARGET_RESET define is unused, remove itbsd-user/i386/target_arch_cpu.h bsd-user/x86_64/target_arch_cpu.h+0 -41 reply
5/15bsd-user: export get_errno and is_error from syscall.cbsd-user/qemu.h bsd-user/syscall.c+9 -51 reply
6/15bsd-user/errno_defs.h: Add internal error numbersbsd-user/errno_defs.h+11 -31 reply
7/15bsd-user: move TARGET_MC_GET_CLEAR_RET to target_os_signal.hbsd-user/freebsd/target_os_signal.h bsd-user/i386/target_arch_signal.h bsd-user/x86_64/target_arch_signal.h+3 -41 reply
8/15bsd-user/target_os_elf.h: Remove fallback ELF_HWCAP and reorderbsd-user/freebsd/target_os_elf.h+2 -61 reply
9/15bsd-user/target_os_elf: If ELF_HWCAP2 is defined, publish itbsd-user/freebsd/target_os_elf.h+4 -01 reply
10/15bsd-user: Remove used from TaskStatebsd-user/main.c bsd-user/qemu.h+0 -21 reply
11/15bsd-user: Add stop_all_tasksbsd-user/main.c bsd-user/qemu.h+10 -02 replies
12/15bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interfacebsd-user/syscall.c+1 -441 reply
13/15bsd-user/sysarch: Provide a per-arch framework for sysarch syscallbsd-user/freebsd/meson.build bsd-user/freebsd/os-sys.c bsd-user/meson.build +2 more+36 -71 reply
14/15bsd-user: Rename sigqueue to qemu_sigqueuebsd-user/qemu.h+7 -71 reply
15/15bsd-user/signal: Create a dummy signal queueing functionbsd-user/qemu.h bsd-user/signal.c+11 -22 replies

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchPaolo BonziniRichard HendersonPhilippe Mathieu-DaudéKyle Evans
1/15A-b R-b
2/15R-b R-b
3/15R-b R-b
4/15R-b R-b R-b
5/15R-b R-b R-b
6/15R-b R-b
7/15R-b R-b R-b
8/15R-b R-b R-b
9/15R-b R-b R-b
10/15R-b R-b R-b
11/15R-b R-b
12/15R-b R-b
13/15R-b R-b
14/15R-b R-b R-b
15/15R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [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.

The aarch64, armv7 and riscv64 patch sets will be published soon after some of the dust settles.

v2: Added Phillippe's take, as endorced by Paolo, on how to filter *-user.
Added qemu_log_mask() to stubbed out signal queueing routines

(hopefully I've done the pull into my tree correctly)

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

Warner Losh (14):
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/sysarch: Provide a per-arch framework for sysarch syscall
bsd-user: Rename sigqueue to qemu_sigqueue bsd-user/signal: Create a dummy signal queueing function

 bsd-user/errno_defs.h                |  14 +++-
 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/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                          |   3 +-
 18 files changed, 103 insertions(+), 195 deletions(-)
 create mode 100644 bsd-user/freebsd/meson.build
 create mode 100644 bsd-user/freebsd/os-sys.c
Signature · 1 line
2.32.0