Re: [PATCH v3 3/7] target/riscv: Flush TLB when pmpaddr is updated

2023-04-20 Thread LIU Zhiwei
On 2023/4/19 11:27, Weiwei Li wrote: TLB should be flushed not only for pmpcfg csr changes, but also for pmpaddr csr changes. Signed-off-by: Weiwei Li Signed-off-by: Junqiang Wang Reviewed-by: Alistair Francis --- target/riscv/pmp.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 3/7] target/riscv: Flush TLB when pmpaddr is updated

2023-04-18 Thread Weiwei Li
TLB should be flushed not only for pmpcfg csr changes, but also for pmpaddr csr changes. Signed-off-by: Weiwei Li Signed-off-by: Junqiang Wang Reviewed-by: Alistair Francis --- target/riscv/pmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/riscv/pmp.c b/target/riscv/pmp.c index