Skip to content

riscv: Add enhanced PMP support

Hongzheng-Li qemu-devel qemu-riscv 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Define ePMP mseccfgtarget/riscv/cpu_bits.h target/riscv/gdbstub.c+5 -00 replies
2/4Implementation of enhanced PMP(ePMP) supporttarget/riscv/pmp.c target/riscv/pmp.h target/riscv/trace-events+138 -120 replies
3/4Add ePMP CSR accessestarget/riscv/csr.c target/riscv/pmp.c+58 -00 replies
4/4Add a config option for ePMP.target/riscv/cpu.c target/riscv/cpu.h+12 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] riscv: Add enhanced PMP support

From: Hou Weiying <[email protected]>

The ePMP can be found in:
https://docs.google.com/document/d/1Mh_aiHYxemL0umN3GTTw8vsbmzHZ_nxZXgjgOUzbvc8/edit#heading=h.9wsr1lnxtwe2

Hou Weiying (4):
Define ePMP mseccfg
Implementation of enhanced PMP(ePMP) support
Add ePMP CSR accesses
Add a config option for ePMP.

 target/riscv/cpu.c        |   9 ++
 target/riscv/cpu.h        |   3 +
 target/riscv/cpu_bits.h   |   3 +
 target/riscv/csr.c        |  18 ++++
 target/riscv/gdbstub.c    |   2 +
 target/riscv/pmp.c        | 174 +++++++++++++++++++++++++++++++++++---
 target/riscv/pmp.h        |  12 +++
 target/riscv/trace-events |   4 +
 8 files changed, 213 insertions(+), 12 deletions(-)
Signature · 1 line
2.20.1