Re: [PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-12 Thread LIU Zhiwei
On 2023/2/13 13:21, Himanshu Chauhan wrote: On 13/02/23 09:52, LIU Zhiwei wrote: On 2023/2/9 13:52, Himanshu Chauhan wrote: When MSECCFG.MML is set, after checking the address range in PMP if the asked permissions are not same as programmed in PMP, the default permissions are applied. This s

Re: [PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-12 Thread Himanshu Chauhan
On 13/02/23 09:52, LIU Zhiwei wrote: On 2023/2/9 13:52, Himanshu Chauhan wrote: When MSECCFG.MML is set, after checking the address range in PMP if the asked permissions are not same as programmed in PMP, the default permissions are applied. This should only be the case when there is no match

Re: [PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-12 Thread LIU Zhiwei
On 2023/2/9 13:52, Himanshu Chauhan wrote: When MSECCFG.MML is set, after checking the address range in PMP if the asked permissions are not same as programmed in PMP, the default permissions are applied. This should only be the case when there is no matching address is found. This patch skips

Re: [PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-09 Thread Alistair Francis
On Thu, Feb 9, 2023 at 3:53 PM Himanshu Chauhan wrote: > > When MSECCFG.MML is set, after checking the address range in PMP if the > asked permissions are not same as programmed in PMP, the default > permissions are applied. This should only be the case when there > is no matching address is found

Re: [PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-09 Thread Alistair Francis
On Thu, Feb 9, 2023 at 3:53 PM Himanshu Chauhan wrote: > > When MSECCFG.MML is set, after checking the address range in PMP if the > asked permissions are not same as programmed in PMP, the default > permissions are applied. This should only be the case when there > is no matching address is found

Re: [PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-09 Thread Daniel Henrique Barboza
On 2/9/23 02:52, Himanshu Chauhan wrote: When MSECCFG.MML is set, after checking the address range in PMP if the asked permissions are not same as programmed in PMP, the default permissions are applied. This should only be the case when there is no matching address is found. This patch skips

[PATCH] target/riscv: Smepmp: Skip applying default rules when address matches

2023-02-08 Thread Himanshu Chauhan
When MSECCFG.MML is set, after checking the address range in PMP if the asked permissions are not same as programmed in PMP, the default permissions are applied. This should only be the case when there is no matching address is found. This patch skips applying default rules when matching address r