In this patch set, fix pmp propagation to tlb and replace pmp_is_range_in_tlb
with a more straightforward function pmp_adjust_tlb_size.
v2:
move pmp rules num check to pmp_is_range_in_tlb
define pmp_adjust_tlb_size to replace pmp_is_range_in_tlb
LIU Zhiwei (5):
target/riscv: Check PMP rules num before propagation
target/riscv: Give a more generic size for tlb
target/riscv: Discard return value for pmp_is_range_in_tlb
target/riscv: Rename pmp_is_range_in_tlb
target/riscv: Modify return and parameter type for pmp_adjust_tlb_size
target/riscv/cpu_helper.c | 6 ++----
target/riscv/pmp.c | 21 ++++++++++-----------
target/riscv/pmp.h | 4 ++--
3 files changed, 14 insertions(+), 17 deletions(-)