mbox series

[v2,0/2] Fix some PMP implementation

Message ID cover.1595311277.git.zong.li@sifive.com
Headers show
Series Fix some PMP implementation | expand

Message

Zong Li July 21, 2020, 6:03 a.m. UTC
This patch set contains the fixes for wrong index of pmpcfg CSR on rv64,
and the pmp range in CSR function table.

Changed in v2:
 - Move out the shifting operation from loop. Suggested by Bin Meng.

Zong Li (2):
  target/riscv: Fix the range of pmpcfg of CSR funcion table
  target/riscv/pmp.c: Fix the index offset on RV64

 target/riscv/csr.c |  2 +-
 target/riscv/pmp.c | 19 ++++++++++++++++---
 2 files changed, 17 insertions(+), 4 deletions(-)