projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fdd2c0
)
target/riscv: Set access as data_load when validating stage-2 PTEs
author
Alistair Francis
<alistair.francis@wdc.com>
Fri, 27 Mar 2020 19:53:40 +0000
(12:53 -0700)
committer
Alistair Francis
<alistair.francis@wdc.com>
Fri, 19 Jun 2020 15:24:07 +0000
(08:24 -0700)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/riscv/cpu_helper.c
patch
|
blob
|
history
diff --git
a/target/riscv/cpu_helper.c
b/target/riscv/cpu_helper.c
index 62fe1ecc8f61fc1f78e1f9fd061a0302ac2bdc51..eda7057663e4c93f4f5f0c5b883aa61860c5e587 100644
(file)
--- a/
target/riscv/cpu_helper.c
+++ b/
target/riscv/cpu_helper.c
@@
-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;