Skip to content

RISC-V Pointer Masking implementation

Alexey Baturo qemu-devel qemu-riscv 19 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v17 Latest8 patches 2 repliesIn review
  2. v168 patches 3 repliesApplied
  3. v158 patches 2 repliesSuperseded
Earlier versions · 16
VersionPostedPatchesRepliesStatus
v148 patches3 repliesSuperseded
v137 patches6 repliesSuperseded
v127 patches1 replySuperseded
v117 patches4 repliesSuperseded
v107 patches2 repliesSuperseded
v96 patches1 replySuperseded
v8 posting 3/36 patches2 repliesSuperseded
v8 posting 2/31 of 6 patches0 repliesSuperseded
v8 posting 1/36 patches0 repliesSuperseded
v76 patches11 repliesSuperseded
v66 patches3 repliesSuperseded
v56 patches0 repliesSuperseded
v45 patches1 replySuperseded
v35 patches5 repliesSuperseded
v20 of 5 patches0 repliesSuperseded
v10 of 5 patches0 repliesSuperseded

v16 from the cover letter

Rebased against the latest tree

Patches in v17 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8target/riscv: Add J-extension into RISC-Vtarget/riscv/cpu.h+2 -00 replies
2/8target/riscv: Add CSR defines for RISC-V PM extensiontarget/riscv/cpu_bits.h+96 -00 replies
3/8target/riscv: Support CSRs required for RISC-V PM extension except for the h-modetarget/riscv/cpu.c target/riscv/cpu.h target/riscv/csr.c+298 -01 reply
4/8target/riscv: Add J extension state descriptiontarget/riscv/machine.c+27 -00 replies
5/8target/riscv: Print new PM CSRs in QEMU logstarget/riscv/cpu.c+7 -01 reply
6/8target/riscv: Support pointer masking for RISC-V for i/c/f/d/a types of instructionstarget/riscv/insn_trans/trans_rva.c.inc target/riscv/insn_trans/trans_rvd.c.inc target/riscv/insn_trans/trans_rvf.c.inc +2 more+17 -00 replies
7/8target/riscv: Implement address masking functions required for RISC-V Pointer Masking extensiontarget/riscv/cpu.h target/riscv/cpu_helper.c target/riscv/translate.c+57 -20 replies
8/8target/riscv: Allow experimental J-ext to be turned ontarget/riscv/cpu.c+4 -00 replies

Reviews trailers per patch

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

PatchRichard HendersonAlistair FrancisBin Meng
1/8R-b R-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b R-b
7/8R-b R-b
8/8R-b R-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 3 reviewers.

Read the v17 thread

Cover letter [PATCH v17 0/8] RISC-V Pointer Masking implementation

v16:
Rebased against the latest tree

v15:
Renamed pm into pointer_masking in machine state.

v14:
Addressed Richard's comments from previous series.

v13:
Rebased QEMU and addressed Richard's comment.

v12:
Updated function for adjusting address with pointer masking to allocate and use temp register.

v11:
Addressed a few style issues Alistair mentioned in the previous review.

Alexey Baturo (7):
target/riscv: Add J-extension into RISC-V
target/riscv: Add CSR defines for RISC-V PM extension target/riscv: Support CSRs required for RISC-V PM extension except for
the h-mode
target/riscv: Add J extension state description target/riscv: Print new PM CSRs in QEMU logs
target/riscv: Support pointer masking for RISC-V for i/c/f/d/a types
of instructions
target/riscv: Allow experimental J-ext to be turned on

Anatoly Parshintsev (1):
target/riscv: Implement address masking functions required for RISC-V
Pointer Masking extension

 target/riscv/cpu.c                      |  13 ++
 target/riscv/cpu.h                      |  15 ++
 target/riscv/cpu_bits.h                 |  96 ++++++++
 target/riscv/cpu_helper.c               |  18 ++
 target/riscv/csr.c                      | 285 ++++++++++++++++++++++++
 target/riscv/insn_trans/trans_rva.c.inc |   3 +
 target/riscv/insn_trans/trans_rvd.c.inc |   2 +
 target/riscv/insn_trans/trans_rvf.c.inc |   2 +
 target/riscv/insn_trans/trans_rvi.c.inc |   2 +
 target/riscv/machine.c                  |  27 +++
 target/riscv/translate.c                |  43 ++++
 11 files changed, 506 insertions(+)
Signature · 1 line
2.30.2