Skip to content

target/riscv: reduce MSTATUS_SUM overhead

Fei Wu qemu-devel qemu-riscv 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyIn review
  2. v42 patches 13 repliesSuperseded
  3. v31 patch 8 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v21 patch0 repliesSuperseded
v11 patch19 repliesSuperseded

Changes in v5 from the cover letter

* add priv to tb_flags

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/riscv: separate priv from mmu_idxtarget/riscv/cpu.h target/riscv/cpu_helper.c target/riscv/insn_trans/trans_privileged.c.inc +2 more+9 -91 reply
2/2target/riscv: reduce overhead of MSTATUS_SUM changetarget/riscv/cpu.h target/riscv/cpu_helper.c target/riscv/csr.c +3 more+35 -90 replies

Reviews trailers per patch

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

PatchRichard Henderson
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] target/riscv: reduce MSTATUS_SUM overhead

v4 -> v5:
* add priv to tb_flags

v3 -> v4:
* seperate priv from mmu_idx
* use index 2 for S+SUM mmu_idx
* no tlb_flush for MPRV / MPP changes

Fei Wu (2):
target/riscv: separate priv from mmu_idx target/riscv: reduce overhead of MSTATUS_SUM change

 target/riscv/cpu.h                            |  3 +--
 target/riscv/cpu_helper.c                     | 21 ++++++++++++++++---
 target/riscv/csr.c                            |  3 +--
 .../riscv/insn_trans/trans_privileged.c.inc   |  2 +-
 target/riscv/insn_trans/trans_rvh.c.inc       |  4 ++--
 target/riscv/insn_trans/trans_xthead.c.inc    |  7 +------
 target/riscv/internals.h                      | 14 +++++++++++++
 target/riscv/op_helper.c                      |  5 +++--
 target/riscv/translate.c                      |  3 +++
 9 files changed, 44 insertions(+), 18 deletions(-)
Signature · 1 line
2.25.1