Skip to content

bsd-user: Comprehensive RISCV Support

Ajeet Singh qemu-devel qemu-riscv 7 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest17 patches 2 repliesApplied
  2. v617 patches 1 replySuperseded
  3. v517 patches 1 replyApplied
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v417 patches1 replySuperseded
v317 patches3 repliesSuperseded
v217 patches3 repliesSuperseded
v118 patches21 repliesSuperseded

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/17bsd-user: Implement RISC-V CPU initialization and main loopbsd-user/riscv/target_arch_cpu.h+40 -00 replies
2/17bsd-user: Add RISC-V CPU execution loop and syscall handlingbsd-user/riscv/target_arch_cpu.h+94 -00 replies
3/17bsd-user: Implement RISC-V CPU register cloning and reset functionsbsd-user/riscv/target_arch_cpu.h+14 -00 replies
4/17bsd-user: Implement RISC-V TLS register setupbsd-user/riscv/target_arch.h bsd-user/riscv/target_arch_cpu.c+56 -00 replies
5/17bsd-user: Add RISC-V ELF definitions and hardware capability detectionbsd-user/riscv/target_arch_elf.h+42 -00 replies
6/17bsd-user: Define RISC-V register structures and register copyingbsd-user/riscv/target_arch_reg.h+88 -00 replies
7/17bsd-user: Add RISC-V signal trampoline setup functionbsd-user/riscv/target_arch_sigtramp.h+41 -00 replies
8/17bsd-user: Implement RISC-V sysarch system call emulationbsd-user/riscv/target_arch_sysarch.h+41 -00 replies
9/17bsd-user: Add RISC-V thread setup and initialization supportbsd-user/riscv/target_arch_thread.h+47 -00 replies
10/17bsd-user: Define RISC-V VM parameters and helper functionsbsd-user/riscv/target_arch_vmparam.h+53 -00 replies
11/17bsd-user: Define RISC-V system call structures and constantsbsd-user/riscv/target_syscall.h+38 -00 replies
12/17bsd-user: Add generic RISC-V64 target definitionsbsd-user/riscv/target.h+20 -00 replies
13/17bsd-user: Define RISC-V signal handling structures and constantsbsd-user/riscv/target_arch_signal.h+75 -00 replies
14/17bsd-user: Implement RISC-V signal trampoline setup functionsbsd-user/riscv/signal.c+63 -00 replies
15/17bsd-user: Implement 'get_mcontext' for RISC-Vbsd-user/riscv/signal.c+53 -00 replies
16/17bsd-user: Implement set_mcontext and get_ucontext_sigreturn for RISCVbsd-user/riscv/signal.c+54 -00 replies
17/17bsd-user: Add RISC-V 64-bit Target Configuration and Debug XML Filesconfigs/targets/riscv64-bsd-user.mak+4 -00 replies

Reviews trailers per patch

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

PatchJessica ClarkeKyle EvansRichard HendersonWarner Losh
1/17Co-authored-by R-b
2/17Co-authored-by Co-authored-by R-b
3/17R-b
4/17R-b
5/17Co-authored-by R-b
6/17R-b
7/17R-b
8/17R-b
9/17Co-authored-by Co-authored-by R-b
10/17R-b
11/17Co-authored-by R-b
12/17R-b
13/17R-b Co-authored-by
14/17R-b Co-authored-by
15/17R-b Co-authored-by
16/17R-b Co-authored-by
17/17R-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 v7 thread

Cover letter [PATCH v7 00/17] bsd-user: Comprehensive RISCV Support

Key Changes Compared to Version 6:
Included "signal-common.h" in target_arch_cpu.h

Mark Corbin (15):
bsd-user: Implement RISC-V CPU initialization and main loop
bsd-user: Add RISC-V CPU execution loop and syscall handling
bsd-user: Implement RISC-V CPU register cloning and reset functions
bsd-user: Implement RISC-V TLS register setup
bsd-user: Add RISC-V ELF definitions and hardware capability detection
bsd-user: Define RISC-V register structures and register copying
bsd-user: Add RISC-V signal trampoline setup function
bsd-user: Implement RISC-V sysarch system call emulation
bsd-user: Add RISC-V thread setup and initialization support
bsd-user: Define RISC-V VM parameters and helper functions
bsd-user: Define RISC-V system call structures and constants
bsd-user: Define RISC-V signal handling structures and constants
bsd-user: Implement RISC-V signal trampoline setup functions
bsd-user: Implement 'get_mcontext' for RISC-V
bsd-user: Implement set_mcontext and get_ucontext_sigreturn for RISCV

Warner Losh (2):
bsd-user: Add generic RISC-V64 target definitions
bsd-user: Add RISC-V 64-bit Target Configuration and Debug XML Files

 bsd-user/riscv/signal.c               | 170 ++++++++++++++++++++++++++
 bsd-user/riscv/target.h               |  20 +++
 bsd-user/riscv/target_arch.h          |  27 ++++
 bsd-user/riscv/target_arch_cpu.c      |  29 +++++
 bsd-user/riscv/target_arch_cpu.h      | 148 ++++++++++++++++++++++
 bsd-user/riscv/target_arch_elf.h      |  42 +++++++
 bsd-user/riscv/target_arch_reg.h      |  88 +++++++++++++
 bsd-user/riscv/target_arch_signal.h   |  75 ++++++++++++
 bsd-user/riscv/target_arch_sigtramp.h |  41 +++++++
 bsd-user/riscv/target_arch_sysarch.h  |  41 +++++++
 bsd-user/riscv/target_arch_thread.h   |  47 +++++++
 bsd-user/riscv/target_arch_vmparam.h  |  53 ++++++++
 bsd-user/riscv/target_syscall.h       |  38 ++++++
 configs/targets/riscv64-bsd-user.mak  |   4 +
 14 files changed, 823 insertions(+)
 create mode 100644 bsd-user/riscv/signal.c
 create mode 100644 bsd-user/riscv/target.h
 create mode 100644 bsd-user/riscv/target_arch.h
 create mode 100644 bsd-user/riscv/target_arch_cpu.c
 create mode 100644 bsd-user/riscv/target_arch_cpu.h
 create mode 100644 bsd-user/riscv/target_arch_elf.h
 create mode 100644 bsd-user/riscv/target_arch_reg.h
 create mode 100644 bsd-user/riscv/target_arch_signal.h
 create mode 100644 bsd-user/riscv/target_arch_sigtramp.h
 create mode 100644 bsd-user/riscv/target_arch_sysarch.h
 create mode 100644 bsd-user/riscv/target_arch_thread.h
 create mode 100644 bsd-user/riscv/target_arch_vmparam.h
 create mode 100644 bsd-user/riscv/target_syscall.h
 create mode 100644 configs/targets/riscv64-bsd-user.mak
Signature · 1 line
2.34.1