projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfdd3e4
)
ppc: Fix mtmsr decoding
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 7 Jun 2016 02:50:25 +0000
(12:50 +1000)
committer
David Gibson
<david@gibson.dropbear.id.au>
Tue, 7 Jun 2016 03:10:45 +0000
(13:10 +1000)
We had code to handle the L bit in the opcode but we didn't
allow it in the decode mask.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate.c
patch
|
blob
|
history
diff --git
a/target-ppc/translate.c
b/target-ppc/translate.c
index
0c2239a
..
c7f5223
100644
(file)
--- a/
target-ppc/translate.c
+++ b/
target-ppc/translate.c
@@
-9944,7
+9944,7
@@
GEN_HANDLER(mtcrf, 0x1F, 0x10, 0x04, 0x00000801, PPC_MISC),
#if defined(TARGET_PPC64)
GEN_HANDLER(mtmsrd, 0x1F, 0x12, 0x05, 0x001EF801, PPC_64B),
#endif
-GEN_HANDLER(mtmsr, 0x1F, 0x12, 0x04, 0x001
F
F801, PPC_MISC),
+GEN_HANDLER(mtmsr, 0x1F, 0x12, 0x04, 0x001
E
F801, PPC_MISC),
GEN_HANDLER(mtspr, 0x1F, 0x13, 0x0E, 0x00000000, PPC_MISC),
GEN_HANDLER(dcbf, 0x1F, 0x16, 0x02, 0x03C00001, PPC_CACHE),
GEN_HANDLER(dcbi, 0x1F, 0x16, 0x0E, 0x03E00001, PPC_CACHE),