Skip to content

target/riscv: Add support for Svadu extension

Weiwei Li qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6target/riscv: Fix the relationship between menvcfg.PBMTE/STCE and Svpbmt/Sstc extensionstarget/riscv/csr.c+6 -21 reply
2/6target/riscv: Fix the relationship of PBMTE/STCE fields between menvcfg and henvcfgtarget/riscv/csr.c+9 -44 replies
3/6target/riscv: Add csr support for svadutarget/riscv/cpu.h target/riscv/cpu_bits.h target/riscv/csr.c+16 -61 reply
4/6target/riscv: Add *envcfg.PBMTE related check in address translationtarget/riscv/cpu.c target/riscv/cpu_helper.c+11 -21 reply
5/6target/riscv: Add *envcfg.HADE related check in address translationtarget/riscv/cpu.c target/riscv/cpu_helper.c+10 -21 reply
6/6target/riscv: Export Svadu propertytarget/riscv/cpu.c+3 -01 reply

Reviews trailers per patch

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

PatchDaniel Henrique Barboza
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v1 thread

Cover letter [PATCH 0/6] target/riscv: Add support for Svadu extension

This patchset adds support svadu extension. It also fixes some relationship between *envcfg fields and Svpbmt/Sstc extensions.

Specification for Svadu extension can be found in:

https://github.com/riscv/riscv-svadu

The port is available here:
https://github.com/plctlab/plct-qemu/tree/plct-svadu-upstream

Weiwei Li (6):
target/riscv: Fix the relationship between menvcfg.PBMTE/STCE and
Svpbmt/Sstc extensions
target/riscv: Fix the relationship of PBMTE/STCE fields between
menvcfg and henvcfg
target/riscv: Add csr support for svadu
target/riscv: Add *envcfg.PBMTE related check in address translation target/riscv: Add *envcfg.HADE related check in address translation target/riscv: Export Svadu property

 target/riscv/cpu.c        |  8 ++++++++
 target/riscv/cpu.h        |  1 +
 target/riscv/cpu_bits.h   |  4 ++++
 target/riscv/cpu_helper.c | 16 ++++++++++++++--
 target/riscv/csr.c        | 26 ++++++++++++++++++++------
 5 files changed, 47 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1