Skip to content

Pointer Masking update for Zjpm v1.0

[email protected] qemu-devel qemu-riscv 14 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. v15 Latest7 patches 1 replyApplied
  2. v147 patches 3 repliesSuperseded
  3. v137 patches 6 repliesSuperseded
Earlier versions · 11
VersionPostedPatchesRepliesStatus
v127 patches6 repliesSuperseded
v117 patches2 repliesSuperseded
v96 patches21 repliesSuperseded
v86 patches0 repliesSuperseded
v76 patches0 repliesSuperseded
v66 patches1 replyApplied
v56 patches3 repliesSuperseded
v46 patches12 repliesSuperseded
v36 patches13 repliesSuperseded
v26 patches4 repliesSuperseded
v16 patches2 repliesSuperseded

[v14] from the cover letter

Rebased and addressed Alistair's comments on code style.

Patches in v15 Applied

#Subject and filesSizeRepliesApplied
1/7target/riscv: Remove obsolete pointer masking extension code.target/riscv/cpu.c target/riscv/cpu.h target/riscv/cpu_bits.h +6 more+19 -5440 replies
2/7target/riscv: Add new CSR fields for S{sn, mn, m}pm extensions as part of Zjpm v1.0target/riscv/cpu.h target/riscv/cpu_bits.h target/riscv/cpu_cfg.h +3 more+58 -50 replies
3/7target/riscv: Add helper functions to calculate current number of masked bits for pointer maskingtarget/riscv/cpu.h target/riscv/cpu_helper.c+83 -00 replies
4/7target/riscv: Add pointer masking tb flagstarget/riscv/cpu.h target/riscv/cpu_helper.c target/riscv/translate.c+11 -00 replies
5/7target/riscv: Update address modify functions to take into account pointer maskingtarget/riscv/translate.c target/riscv/vector_helper.c+32 -60 replies
6/7target/riscv: Apply pointer masking for virtualized memory accessestarget/riscv/cpu.h target/riscv/cpu_helper.c target/riscv/internals.h +2 more+82 -290 replies
7/7target/riscv: Enable updates for pointer masking variables and thus enable pointer masking extensiontarget/riscv/cpu.c+6 -00 replies

Reviews trailers per patch

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

PatchDaniel Henrique BarbozaAlistair FrancisRichard HendersonLIU Zhiwei
1/7A-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b R-b
5/7R-b R-b
6/7R-b R-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 4 reviewers.

Read the v15 thread

Cover letter [PATCH v15 0/7] Pointer Masking update for Zjpm v1.0

From: Alexey Baturo <[email protected]>

Hi,

Rebased against Alistair's riscv-to-apply.next

Thanks

[v14]:
Rebased and addressed Alistair's comments on code style.

[v13]:
Rebased and addressed Daniel's comments about the return type of the helper.

Thanks

[v12]:
Rebased and addressed Richard's comments about proper masking virtualized accesses.

Thanks

[v11]:
As suggested on the mailing list by Daniel, I'm resubmitting this series and keeping the original versioning number.
So that makes this one v11 and previous - v10.
Also I applied previously issues reviewed-by tags on some of the patches that were present in v9 series, but only for the code, that didn't change much. For the others I'd really like to have them reviewed as there were a lot of comments on v9 series.
Also rebased on the current upstream.

Thanks

[v10]:
I've rebased this patch series and addressed Richard's and Daniel's comments. Thanks

[v0]:
As Pointer Masking is finally ratified, these patches intend to update the existing code to the final version.
These patches have been submitted previously and I tried to address all the suggestions, but I'd suggest to review them from the clean slate and then finally push them to the repo. Thanks.

Alexey Baturo (7):
target/riscv: Remove obsolete pointer masking extension code. target/riscv: Add new CSR fields for S{sn,mn,m}pm extensions as part
of Zjpm v1.0
target/riscv: Add helper functions to calculate current number of
masked bits for pointer masking
target/riscv: Add pointer masking tb flags
target/riscv: Update address modify functions to take into account
pointer masking
target/riscv: Apply pointer masking for virtualized memory accesses target/riscv: Enable updates for pointer masking variables and thus
enable pointer masking extension

 target/riscv/cpu.c           |  19 +-
 target/riscv/cpu.h           |  50 ++---
 target/riscv/cpu_bits.h      |  91 +--------
 target/riscv/cpu_cfg.h       |   3 +
 target/riscv/cpu_helper.c    | 128 +++++++++----
 target/riscv/csr.c           | 359 +++--------------------------------
 target/riscv/internals.h     |  54 ++++++
 target/riscv/machine.c       |  17 +-
 target/riscv/op_helper.c     |  16 +-
 target/riscv/pmp.c           |  14 +-
 target/riscv/pmp.h           |   1 +
 target/riscv/tcg/tcg-cpu.c   |   5 +-
 target/riscv/translate.c     |  47 ++---
 target/riscv/vector_helper.c |   5 -
 14 files changed, 258 insertions(+), 551 deletions(-)
Signature · 1 line
2.39.5