[PATCH v3 1/2] target/riscv: Remove redundant check in pmp_is_locked

2023-07-08 Thread Ruibo Lu
the check of top PMP is redundant and will not influence the return value, so consider remove it Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1733 Reviewed-by: Weiwei Li Reviewed-by: Alistair Francis Signed-off-by: Ruibo Lu --- target/riscv/pmp.c | 5 - 1 file changed, 5 deletio

[PATCH v3 1/2] target/riscv: Remove redundant check in pmp_is_locked

2023-07-07 Thread Ruibo Lu
the check of top PMP is redundant and will not influence the return value, so consider remove it Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1733 Reviewed-by: Weiwei Li Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Ruibo Lu --- target/riscv/pmp.c