Re: [PATCH v2 08/11] target/riscv: remove RISCV_FEATURE_PMP

2023-02-15 Thread Bin Meng
On Wed, Feb 15, 2023 at 3:25 AM Daniel Henrique Barboza wrote: > > RISCV_FEATURE_PMP is being set via riscv_set_feature() by mirroring the > cpu->cfg.pmp flag. Use the flag instead. > > Reviewed-by: Weiwei Li > Signed-off-by: Daniel Henrique Barboza > --- > target/riscv/cpu.c| 4 >

[PATCH v2 08/11] target/riscv: remove RISCV_FEATURE_PMP

2023-02-14 Thread Daniel Henrique Barboza
RISCV_FEATURE_PMP is being set via riscv_set_feature() by mirroring the cpu->cfg.pmp flag. Use the flag instead. Reviewed-by: Weiwei Li Signed-off-by: Daniel Henrique Barboza --- target/riscv/cpu.c| 4 target/riscv/cpu.h| 1 - target/riscv/cpu_helper.c | 2 +- target/riscv/