Re: [PATCH v4 1/7] target/riscv: Update pmp_get_tlb_size()

2023-04-27 Thread LIU Zhiwei
On 2023/4/22 21:03, Weiwei Li wrote: PMP entries before the matched PMP entry (including the matched PMP entry) may only cover partial of the TLB page, which may make different regions in that page allow different RWX privs, such as for PMP0 (0x8008~0x800F, R) and PMP1 (0x80001000~0x800

[PATCH v4 1/7] target/riscv: Update pmp_get_tlb_size()

2023-04-22 Thread Weiwei Li
PMP entries before the matched PMP entry (including the matched PMP entry) may only cover partial of the TLB page, which may make different regions in that page allow different RWX privs, such as for PMP0 (0x8008~0x800F, R) and PMP1 (0x80001000~0x80001FFF, RWX) write access to 0x8000 wi