Skip to content

RISC-V: Hypervisor prep work part 2

Alistair Francis qemu-devel qemu-riscv 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 9 repliesIn review
  2. v37 patches 8 repliesSuperseded
  3. v25 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches19 repliesSuperseded

Changes in v4 from the cover letter

- Drop MIP change patch
- Add a Floating Point fixup patch

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7target/riscv: Don't set write permissions on dirty PTEstarget/riscv/cpu_helper.c+2 -40 replies
2/7riscv: plic: Remove unused interrupt functionshw/riscv/sifive_plic.c include/hw/riscv/sifive_plic.h+0 -150 replies
3/7target/riscv: Create function to test if FP is enabledtarget/riscv/cpu.h target/riscv/cpu_helper.c target/riscv/csr.c+26 -105 replies
4/7target/riscv: Update the Hypervisor CSRs to v0.4target/riscv/cpu_bits.h+18 -170 replies
5/7target/riscv: Use both register name and ABI nametarget/riscv/cpu.c+11 -80 replies
6/7target/riscv: Fix mstatus dirty masktarget/riscv/csr.c+1 -10 replies
7/7target/riscv: Use TB_FLAGS_MSTATUS_FS for floating pointtarget/riscv/cpu.h+1 -13 replies

Reviews trailers per patch

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

PatchBin MengJonathan BehrensPhilippe Mathieu-DaudéChih-Min ChaoChristophe de DinechinPalmer Dabbelt
1/7R-b
2/7R-b R-b R-b R-b
3/7R-b R-b R-b R-b
4/7R-b R-b
5/7R-b
6/7R-b
7/7R-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 6 reviewers.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/7] RISC-V: Hypervisor prep work part 2

The first three patches are ones that I have pulled out of my original Hypervisor series at an attempt to reduce the number of patches in the series.

These three patches all make sense without the Hypervisor series so can be merged seperatley and will reduce the review burden of the next version of the patches.

The fource patch is a prep patch for the new v0.4 Hypervisor spec.

The fifth patch is unreleated to Hypervisor that I'm just slipping in here because it seems easier then sending it by itself.

The final two patches are issues I discovered while adding the v0.4 Hypervisor extension.

v4:
- Drop MIP change patch
- Add a Floating Point fixup patch
v3:
- Change names of all GP registers
- Add two more patches
v2:
- Small corrections based on feedback
- Remove the CSR permission check patch

Alistair Francis (6):
target/riscv: Don't set write permissions on dirty PTEs
riscv: plic: Remove unused interrupt functions target/riscv: Create function to test if FP is enabled target/riscv: Update the Hypervisor CSRs to v0.4 target/riscv: Fix mstatus dirty mask target/riscv: Use TB_FLAGS_MSTATUS_FS for floating point

Atish Patra (1):
target/riscv: Use both register name and ABI name

 hw/riscv/sifive_plic.c         | 12 ------------
 include/hw/riscv/sifive_plic.h |  3 ---
 target/riscv/cpu.c             | 19 ++++++++++--------
 target/riscv/cpu.h             |  6 +++++-
 target/riscv/cpu_bits.h        | 35 +++++++++++++++++-----------------
 target/riscv/cpu_helper.c      | 16 ++++++++++++----
 target/riscv/csr.c             | 22 +++++++++++----------
 7 files changed, 58 insertions(+), 55 deletions(-)
Signature · 1 line
2.22.0