Re: [PATCH v5 02/13] target/riscv: Move pmp_get_tlb_size apart from get_physical_address_pmp

2023-05-16 Thread Alistair Francis
On Sat, Apr 29, 2023 at 12:38 AM Weiwei Li wrote: > > pmp_get_tlb_size can be separated from get_physical_address_pmp and is only > needed when ret == TRANSLATE_SUCCESS. > > Signed-off-by: Weiwei Li > Signed-off-by: Junqiang Wang > Reviewed-by: LIU Zhiwei Reviewed-by: Alistair Francis

[PATCH v5 02/13] target/riscv: Move pmp_get_tlb_size apart from get_physical_address_pmp

2023-04-28 Thread Weiwei Li
pmp_get_tlb_size can be separated from get_physical_address_pmp and is only needed when ret == TRANSLATE_SUCCESS. Signed-off-by: Weiwei Li Signed-off-by: Junqiang Wang Reviewed-by: LIU Zhiwei --- target/riscv/cpu_helper.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-)