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:
0056fc9
)
s390x/ioinst: Fixed alignment check in SCHM instruction
author
Thomas Huth
<thuth@linux.vnet.ibm.com>
Fri, 21 Jun 2013 13:57:31 +0000
(15:57 +0200)
committer
Christian Borntraeger
<borntraeger@de.ibm.com>
Tue, 30 Jul 2013 14:11:00 +0000
(16:11 +0200)
Register 2 only has to be aligned to a 32-byte boundary, not a
full page boundary.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/ioinst.c
patch
|
blob
|
history
diff --git
a/target-s390x/ioinst.c
b/target-s390x/ioinst.c
index 0dc258fe3c5bb7226dbabfb339a84c3aff60436e..098bd8d5d3ce203895604bf7f23769d45a973901 100644
(file)
--- a/
target-s390x/ioinst.c
+++ b/
target-s390x/ioinst.c
@@
-688,7
+688,7
@@
int ioinst_handle_schm(CPUS390XState *env, uint64_t reg1, uint64_t reg2,
update = SCHM_REG1_UPD(reg1);
dct = SCHM_REG1_DCT(reg1);
- if (update && (reg2 & 0x0000000000000
ff
f)) {
+ if (update && (reg2 & 0x0000000000000
01
f)) {
program_interrupt(env, PGM_OPERAND, 2);
return -EIO;
}