As I have found another similar error in PMP, and we can fix it at the
same time. I have sent a patch named "target/riscv: Fix PMP propagation
for tlb".
This patch set should be dropped.
Thanks,
Zhiwei
Drop this patch set.
On 2021/11/22 下午7:02, LIU Zhiwei wrote:
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(-)