Skip to content

Upstream RISC-V fork patches, part 4

Alistair Francis qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 4 repliesIn review

v3 from the cover letter

- Add a patch to remove some dead code
- Rebase on master

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12riscv: pmp: Log pmp access errors as guest errorstarget/riscv/pmp.c+13 -70 replies
2/12RISC-V: Replace __builtin_popcount with ctpop8 in PLIChw/riscv/sifive_plic.c+2 -20 replies
3/12RISC-V: Allow interrupt controllers to claim interruptshw/riscv/sifive_plic.c target/riscv/cpu.h target/riscv/cpu_helper.c +1 more+30 -80 replies
4/12RISC-V: Remove unnecessary disassembler constraintsdisas/riscv.c+0 -1380 replies
5/12elf: Add RISC-V PSABI ELF header definesinclude/elf.h+10 -00 replies
6/12RISC-V: linux-user support for RVE ABIlinux-user/riscv/cpu_loop.c target/riscv/cpu.h target/riscv/cpu_user.h+20 -20 replies
7/12RISC-V: Change local interrupts from edge to leveltarget/riscv/cpu_helper.c+2 -20 replies
8/12RISC-V: Add support for vectored interruptstarget/riscv/cpu_helper.c target/riscv/csr.c+60 -970 replies
9/12RISC-V: Convert trap debugging to trace eventsMakefile.objs target/riscv/cpu_helper.c target/riscv/trace-events+6 -90 replies
10/12RISC-V: Update load reservation comment in do_interrupttarget/riscv/cpu_helper.c+7 -10 replies
11/12riscv: sifive_u: Allow up to 4 CPUs to be createdhw/riscv/sifive_u.c+4 -10 replies
12/12target/riscv: Remove unused structtarget/riscv/cpu.c+0 -60 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchKito ChengMichael ClarkLaurent Vivier
1/12
2/12
3/12
4/12
5/12R-b
6/12Co-authored-by Co-authored-by
7/12
8/12
9/12
10/12
11/12
12/12

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

Read the v1 thread

Cover letter [Qemu-riscv] [PATCH v1 00/12] Upstream RISC-V fork patches, part 4

v3:
- Add a patch to remove some dead code
- Rebase on master
v2:
- Add a patch for SiFive U SMP support
- Rebase on master

Alistair Francis (3):
riscv: pmp: Log pmp access errors as guest errors
riscv: sifive_u: Allow up to 4 CPUs to be created target/riscv: Remove unused struct

Kito Cheng (1):
RISC-V: linux-user support for RVE ABI

Michael Clark (8):
RISC-V: Replace __builtin_popcount with ctpop8 in PLIC
RISC-V: Allow interrupt controllers to claim interrupts
RISC-V: Remove unnecessary disassembler constraints
elf: Add RISC-V PSABI ELF header defines
RISC-V: Change local interrupts from edge to level
RISC-V: Add support for vectored interrupts
RISC-V: Convert trap debugging to trace events
RISC-V: Update load reservation comment in do_interrupt

 Makefile.objs               |   1 +
 disas/riscv.c               | 138 -----------------------------
 hw/riscv/sifive_plic.c      |  19 +++-
 hw/riscv/sifive_u.c         |   5 +-
 include/elf.h               |  10 +++
 linux-user/riscv/cpu_loop.c |  15 +++-
 target/riscv/cpu.c          |   6 --
 target/riscv/cpu.h          |   6 ++
 target/riscv/cpu_helper.c   | 168 +++++++++++++++---------------------
 target/riscv/cpu_user.h     |   3 +-
 target/riscv/csr.c          |  22 ++---
 target/riscv/pmp.c          |  20 +++--
 target/riscv/trace-events   |   2 +
 13 files changed, 148 insertions(+), 267 deletions(-)
 create mode 100644 target/riscv/trace-events
Signature · 1 line
2.21.0