Skip to content

mconfigptr support

Rahul Pathak qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 6 repliesIn review

Changes in v2 from the cover letter

------
1. Added privileged architecture spec version 1.12 ("v1.12.0") check
2. Added predicate function for mconfigptr which verifies for priv spec version v1.12.0 or higher.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/riscv: Add priv spec 1.12.0 version checktarget/riscv/cpu.c target/riscv/cpu.h+4 -12 replies
2/2target/riscv: csr: Implement mconfigptr CSRtarget/riscv/cpu_bits.h target/riscv/csr.c+16 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] mconfigptr support

Patches add the mconfigptr csr support.
mconfigptr is newly incorporated in risc-v privileged architecture specification 1.12 version.
priv spec 1.12.0 version check is also added.

qemu-system-riscv64 -nographic -machine virt -cpu rv64,priv_spec=v1.12.0

Changelog:

v1->v2
------
1. Added privileged architecture spec version 1.12 ("v1.12.0") check
2. Added predicate function for mconfigptr which verifies for priv spec version v1.12.0 or higher.

Thanks
Rahul

Rahul Pathak (2):
target/riscv: Add priv spec 1.12.0 version check target/riscv: csr: Implement mconfigptr CSR

 target/riscv/cpu.c      |  4 +++-
 target/riscv/cpu.h      |  1 +
 target/riscv/cpu_bits.h |  1 +
 target/riscv/csr.c      | 19 +++++++++++++++----
 4 files changed, 20 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1