s390x: Properly fetch and test the short psw on diag308 subc 0/1
commit104130cb7c106378dab944397c6a455c4a6d552f
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 29 Nov 2019 14:20:23 +0000 (29 09:20 -0500)
committerCornelia Huck <cohuck@redhat.com>
Wed, 18 Dec 2019 14:54:24 +0000 (18 15:54 +0100)
tree2cdeee570f97699f43a79dd45257cc10183757df
parentd0ce53ff2d04fd8af7c2784d4992df94918cd03a
s390x: Properly fetch and test the short psw on diag308 subc 0/1

We need to actually fetch the cpu mask and set it. As we invert the
short psw indication in the mask, SIE will report a specification
exception, if it wasn't present in the reset psw.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20191129142025.21453-2-frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.c
target/s390x/cpu.h