Hi Richard,
On 7/24/24 7:14 AM, Richard Henderson wrote:
On 7/23/24 02:07, Gustavo Romero wrote:
+ /* Find out the current translation regime for probe. */
+ mmu_index = arm_mmu_idx(env) & ARM_MMU_IDX_COREIDX_MASK;
The official interface is cpu_mmu_index().
Otherwise,
Reviewed-by: Rich
Hi Richard,
On 7/24/24 7:14 AM, Richard Henderson wrote:
On 7/23/24 02:07, Gustavo Romero wrote:
+ /* Find out the current translation regime for probe. */
+ mmu_index = arm_mmu_idx(env) & ARM_MMU_IDX_COREIDX_MASK;
The official interface is cpu_mmu_index().
Otherwise,
Reviewed-by: Rich
On 7/23/24 02:07, Gustavo Romero wrote:
+/* Find out the current translation regime for probe. */
+mmu_index = arm_mmu_idx(env) & ARM_MMU_IDX_COREIDX_MASK;
The official interface is cpu_mmu_index().
Otherwise,
Reviewed-by: Richard Henderson
r~
Use arm_mmu_idx() to determine the specific translation regime (MMU
index) before probing addresses using allocation_tag_mem_probe().
Currently, the MMU index is hardcoded to 0 and only works for user mode.
By obtaining the specific MMU index according to the translation regime,
future use of the