summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2016-03-04 12:23:55 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-05-09 13:33:55 +0200
commitbd50e8ec8f668de472b3bf782ac95866056257dd (patch)
tree0b49017ce942c3647db44934f177f096515d3d25 /arch/s390/include
parentd6af0b491b1f675e5e5a12c5587f804c698a6ba5 (diff)
downloadblackbird-op-linux-bd50e8ec8f668de472b3bf782ac95866056257dd.tar.gz
blackbird-op-linux-bd50e8ec8f668de472b3bf782ac95866056257dd.zip
KVM: s390: enable SRS only if enabled for the guest
If we don't have SIGP SENSE RUNNING STATUS enabled for the guest, let's not enable interpretation so we can correctly report an invalid order. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/sigp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sigp.h b/arch/s390/include/asm/sigp.h
index ec60cf7fa0a2..1c8f33fca356 100644
--- a/arch/s390/include/asm/sigp.h
+++ b/arch/s390/include/asm/sigp.h
@@ -27,6 +27,7 @@
/* SIGP cpu status bits */
+#define SIGP_STATUS_INVALID_ORDER 0x00000002UL
#define SIGP_STATUS_CHECK_STOP 0x00000010UL
#define SIGP_STATUS_STOPPED 0x00000040UL
#define SIGP_STATUS_EXT_CALL_PENDING 0x00000080UL
OpenPOWER on IntegriCloud