diff options
author | David Hildenbrand <david@redhat.com> | 2017-07-21 14:56:04 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-07-28 10:06:25 +0200 |
commit | 031631c3cf976861c34decabbffb705c0540e148 (patch) | |
tree | a7228303987453bc7bd6b0ced3312bc68c352264 /target | |
parent | e01151de165070c25a1b202e9e2392950bd7c8da (diff) |
target/s390x: fix pgm irq ilen for stsi
The instruction is 4 bytes long.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170721125609.11117-2-david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/s390x/misc_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/misc_helper.c b/target/s390x/misc_helper.c index 44c5c401fb..d23ffcd890 100644 --- a/target/s390x/misc_helper.c +++ b/target/s390x/misc_helper.c @@ -192,7 +192,7 @@ uint32_t HELPER(stsi)(CPUS390XState *env, uint64_t a0, if ((r0 & STSI_LEVEL_MASK) <= STSI_LEVEL_3 && ((r0 & STSI_R0_RESERVED_MASK) || (r1 & STSI_R1_RESERVED_MASK))) { /* valid function code, invalid reserved bits */ - program_interrupt(env, PGM_SPECIFICATION, 2); + program_interrupt(env, PGM_SPECIFICATION, 4); } sel1 = r0 & STSI_R0_SEL1_MASK; |