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(-) -- 2.27.0