RISC-V: Add support for ePMP v0.9.1
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
- v4 Latest8 patches 2 repliesApplied
- v38 patches 2 repliesSuperseded
- v28 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 8 patches | 9 replies | Superseded |
Changes in v4 from the cover letter
- Fix the pmpcfg write function and log
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | target/riscv: Fix the PMP is locked check when using TORtarget/ | +16 | 0 replies | |
| 2/8 | target/riscv: Define ePMP mseccfgtarget/ | +3 | 0 replies | |
| 3/8 | target/riscv: Add the ePMP featuretarget/ | +1 | 0 replies | |
| 4/8 | target/riscv: Add ePMP CSR access functionstarget/ target/ target/ +2 more | +76 | 0 replies | |
| 5/8 | target/riscv: Implementation of enhanced PMP (ePMP)target/ | +146 | 1 reply | |
| 6/8 | target/riscv: Add a config option for ePMPtarget/ target/ | +11 | 0 replies | |
| 7/8 | target/riscv/pmp: Remove outdated commenttarget/ | +0 | 0 replies | |
| 8/8 | target/riscv: Add ePMP support for the Ibex CPUtarget/ | +1 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng | Alistair Francis |
|---|---|---|
| 1/8 | R-b | |
| 2/8 | R-b | R-b |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | |
| 7/8 | R-b | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/8] RISC-V: Add support for ePMP v0.9.1
This series adds support for ePMP v0.9.1 to the QEMU RISC-V target.
This is based on previous patches, but has been rebased on the latest master and updated for the latest spec.
The spec is avaliable at: https://docs.google.com/document/d/1Mh_aiHYxemL0umN3GTTw8vsbmzHZ_nxZXgjgOUzbvc8
This was tested by running Tock on the OpenTitan board.
This is based on the original work by:
Hongzheng-Li <[email protected]>
Hou Weiying <[email protected]>
Myriad-Dreamin <[email protected]>
v4:
- Fix the pmpcfg write function and log
v3:
- Address Bin's comments on the ePMP implementation
v2:
- Rebase on the RISC-V tree
Alistair Francis (4):
target/riscv: Fix the PMP is locked check when using TOR target/riscv: Add the ePMP feature target/riscv/pmp: Remove outdated comment target/riscv: Add ePMP support for the Ibex CPU
Hou Weiying (4):
target/riscv: Define ePMP mseccfg target/riscv: Add ePMP CSR access functions target/riscv: Implementation of enhanced PMP (ePMP) target/riscv: Add a config option for ePMP
target/riscv/cpu.h | 3 + target/riscv/cpu_bits.h | 3 + target/riscv/pmp.h | 14 +++ target/riscv/cpu.c | 11 ++ target/riscv/csr.c | 24 +++++ target/riscv/pmp.c | 218 ++++++++++++++++++++++++++++++++++---- target/riscv/trace-events | 3 + 7 files changed, 254 insertions(+), 22 deletions(-)
Signature · 1 line
2.31.1