[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 08/11] target/riscv: remove RISCV_FEATURE_PMP
From: |
Bin Meng |
Subject: |
Re: [PATCH v2 08/11] target/riscv: remove RISCV_FEATURE_PMP |
Date: |
Wed, 15 Feb 2023 19:22:48 +0800 |
On Wed, Feb 15, 2023 at 3:25 AM Daniel Henrique Barboza
<dbarboza@ventanamicro.com> 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 <liweiwei@iscas.ac.cn>
> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
> ---
> target/riscv/cpu.c | 4 ----
> target/riscv/cpu.h | 1 -
> target/riscv/cpu_helper.c | 2 +-
> target/riscv/csr.c | 2 +-
> target/riscv/machine.c | 3 +--
> target/riscv/op_helper.c | 2 +-
> target/riscv/pmp.c | 2 +-
> 7 files changed, 5 insertions(+), 11 deletions(-)
>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
- [PATCH v2 03/11] target/riscv: allow users to actually write the MISA CSR, (continued)
- [PATCH v2 03/11] target/riscv: allow users to actually write the MISA CSR, Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 04/11] target/riscv: remove RISCV_FEATURE_MISA, Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 05/11] target/riscv: remove RISCV_FEATURE_DEBUG, Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 06/11] target/riscv/cpu.c: error out if EPMP is enabled without PMP, Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 07/11] target/riscv: remove RISCV_FEATURE_EPMP, Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 08/11] target/riscv: remove RISCV_FEATURE_PMP, Daniel Henrique Barboza, 2023/02/14
- Re: [PATCH v2 08/11] target/riscv: remove RISCV_FEATURE_PMP,
Bin Meng <=
- [PATCH v2 09/11] hw/riscv/virt.c: do not use RISCV_FEATURE_MMU in create_fdt_socket_cpus(), Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 10/11] target/riscv: remove RISCV_FEATURE_MMU, Daniel Henrique Barboza, 2023/02/14
- [PATCH v2 11/11] target/riscv/cpu: remove CPUArchState::features and friends, Daniel Henrique Barboza, 2023/02/14
- Re: [PATCH v2 00/11] enable write_misa() and RISCV_FEATURE_* cleanups, Andrew Jones, 2023/02/15