[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/8] s390x/ioinst: Fixed alignment check in SCHM ins
From: |
Christian Borntraeger |
Subject: |
[Qemu-devel] [PATCH 4/8] s390x/ioinst: Fixed alignment check in SCHM instruction |
Date: |
Tue, 30 Jul 2013 16:23:11 +0200 |
From: Thomas Huth <address@hidden>
Register 2 only has to be aligned to a 32-byte boundary, not a
full page boundary.
Signed-off-by: Thomas Huth <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Christian Borntraeger <address@hidden>
---
target-s390x/ioinst.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-s390x/ioinst.c b/target-s390x/ioinst.c
index 0dc258f..098bd8d 100644
--- 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 & 0x0000000000000fff)) {
+ if (update && (reg2 & 0x000000000000001f)) {
program_interrupt(env, PGM_OPERAND, 2);
return -EIO;
}
--
1.8.3.1
- [Qemu-devel] [PULLv2 0/8] s390 patch queue, Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 1/8] s390/sclpconsole: handle char layer busy conditions, Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 6/8] s390x/kvm: Reworked/fixed handling of cc3 in kvm_handle_css_inst(), Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 3/8] s390x/ioinst: Throw addressing exception when memory_map failed, Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 7/8] s390x/kvm: Remove redundant return code, Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 8/8] s390: Implement dump-guest-memory support for target s390x, Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 4/8] s390x/ioinst: Fixed alignment check in SCHM instruction,
Christian Borntraeger <=
- [Qemu-devel] [PATCH 5/8] s390x/ioinst: Fixed priority of operand exceptions, Christian Borntraeger, 2013/07/30
- [Qemu-devel] [PATCH 2/8] s390x/ioinst: Add missing alignment checks for IO instructions, Christian Borntraeger, 2013/07/30