|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v5 3/4] target/riscv: implement Zicbom extension |
| Date: | Wed, 15 Feb 2023 12:18:40 -1000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/15/23 12:13, Richard Henderson wrote:
ret = probe_access_flags(env, address, MMU_DATA_LOAD, mmu_idx, true,
&phost, ra);
if (ret != TLB_INVALID_MASK) {
/* Success: readable */
return;
}
...
At which point the new probe_acccess_range_flags is not needed.
Oh, I get it, the range is required for PMP, for sub-page range checks.I wonder how tedious it would be to adjust all callers, rather than inventing yet another interface...
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |