projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3b1e4
)
target/arm: Copy guarded bit in combine_cacheattrs
author
Richard Henderson
<richard.henderson@linaro.org>
Fri, 7 Apr 2023 18:51:49 +0000
(11:51 -0700)
committer
Peter Maydell
<peter.maydell@linaro.org>
Mon, 10 Apr 2023 13:31:40 +0000
(14:31 +0100)
The guarded bit comes from the stage1 walk.
Fixes: Coverity CID 1507929
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
20230407185149
.
3253946
-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/ptw.c
patch
|
blob
|
history
diff --git
a/target/arm/ptw.c
b/target/arm/ptw.c
index 58a6de09bc92fbc6215e85bc9e759114cf7904f8..6d72950a795ed97559c8c078bf558e2c1f66c34b 100644
(file)
--- a/
target/arm/ptw.c
+++ b/
target/arm/ptw.c
@@
-2576,6
+2576,7
@@
static ARMCacheAttrs combine_cacheattrs(uint64_t hcr,
assert(!s1.is_s2_format);
ret.is_s2_format = false;
+ ret.guarded = s1.guarded;
if (s1.attrs == 0xf0) {
tagged = true;