projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69ad9d
)
target/arm: Fix bitmask for PMCCFILTR writes
author
Aaron Lindsay
<alindsay@codeaurora.org>
Thu, 26 Apr 2018 10:04:39 +0000
(11:04 +0100)
committer
Peter Maydell
<peter.maydell@linaro.org>
Thu, 26 Apr 2018 10:04:39 +0000
(11:04 +0100)
It was shifted to the left one bit too few.
Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
1523997485
-1905-10-git-send-email-alindsay@codeaurora.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
patch
|
blob
|
history
diff --git
a/target/arm/helper.c
b/target/arm/helper.c
index 81e88f255b2c7a2a4f5e709653b16b5ae8c61dbe..85c289f3b9e79cf4eb7f300c08447a2e4acff0f3 100644
(file)
--- a/
target/arm/helper.c
+++ b/
target/arm/helper.c
@@
-1119,7
+1119,7
@@
static void pmccfiltr_write(CPUARMState *env, const ARMCPRegInfo *ri,
uint64_t value)
{
pmccntr_sync(env);
- env->cp15.pmccfiltr_el0 = value & 0x
7E
000000;
+ env->cp15.pmccfiltr_el0 = value & 0x
fc
000000;
pmccntr_sync(env);
}