]> Git Repo - qemu.git/commitdiff
target/riscv: Set access as data_load when validating stage-2 PTEs
authorAlistair Francis <[email protected]>
Fri, 27 Mar 2020 19:53:40 +0000 (12:53 -0700)
committerAlistair Francis <[email protected]>
Fri, 19 Jun 2020 15:24:07 +0000 (08:24 -0700)
Signed-off-by: Alistair Francis <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
target/riscv/cpu_helper.c

index 62fe1ecc8f61fc1f78e1f9fd061a0302ac2bdc51..eda7057663e4c93f4f5f0c5b883aa61860c5e587 100644 (file)
@@ -435,7 +435,7 @@ restart:
             hwaddr vbase;
 
             /* Do the second stage translation on the base PTE address. */
-            get_physical_address(env, &vbase, &vbase_prot, base, access_type,
+            get_physical_address(env, &vbase, &vbase_prot, base, MMU_DATA_LOAD,
                                  mmu_idx, false, true);
 
             pte_addr = vbase + idx * ptesize;
This page took 0.02681 seconds and 4 git commands to generate.