]> git.proxmox.com Git - mirror_qemu.git/commit
target-s390x: Mask the SIGP order_code to 8bit.
authorPhilipp Kern <phil@philkern.de>
Tue, 18 Aug 2015 11:50:55 +0000 (13:50 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 25 Apr 2017 11:39:43 +0000 (13:39 +0200)
commit601b9a9008c5a612d76073bb3f178621cff41980
treef87353784687559e187849a01c538239c2cad0e0
parentf4b5b021c847669b1c78050aea26fe9abceef6dd
target-s390x: Mask the SIGP order_code to 8bit.

According to "CPU Signaling and Response", "Signal-Processor Orders",
the order field is bit position 56-63. Without this, the Linux
guest kernel is sometimes unable to stop emulation and enters
an infinite loop of "XXX unknown sigp: 0xffffffff00000005".

Signed-off-by: Philipp Kern <phil@philkern.de>
Reviewed-by: Thomas Huth <thuth@tuxfamily.org>
[agraf: add comment according to email]
Signed-off-by: Alexander Graf <agraf@suse.de>
target/s390x/misc_helper.c