projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ed0cd7
)
s390x/mmu: Use TARGET_PAGE_MASK in mmu_translate_pte()
author
David Hildenbrand
<david@redhat.com>
Wed, 25 Sep 2019 11:56:33 +0000
(13:56 +0200)
committer
David Hildenbrand
<david@redhat.com>
Wed, 9 Oct 2019 10:33:47 +0000
(12:33 +0200)
While ASCE_ORIGIN is not wrong, it is certainly confusing. We want a
page frame address.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/mmu_helper.c
patch
|
blob
|
history
diff --git
a/target/s390x/mmu_helper.c
b/target/s390x/mmu_helper.c
index 71dee0a5d9a08d3615cb19a4d3d4ce0d1fd8caba..aaf5b235132f38c7acf18367dec5fbe990118515 100644
(file)
--- a/
target/s390x/mmu_helper.c
+++ b/
target/s390x/mmu_helper.c
@@
-129,7
+129,7
@@
static int mmu_translate_pte(CPUS390XState *env, target_ulong vaddr,
*flags &= ~PAGE_WRITE;
}
- *raddr = pt_entry &
ASCE_ORIGIN
;
+ *raddr = pt_entry &
TARGET_PAGE_MASK
;
return 0;
}