On Thu, 23 Feb 2023 20:08:46 PST (-0800), liweiwei@iscas.ac.cn wrote:
> 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(-)
Thanks, this is queued up on riscv-to-apply.next .