summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/sigp.c
diff options
context:
space:
mode:
authorEric Farman <farman@linux.vnet.ibm.com>2015-02-12 09:06:34 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-03-06 13:49:34 +0100
commitcd7b4b61063eb55ab7a5f96523e028c9e0914694 (patch)
treeb48d1d01e9fddd46311ef08e9296dd5d8904bf08 /arch/s390/kvm/sigp.c
parent403c8648cb191ef88555bfa72deaa969c0367f41 (diff)
downloadop-kernel-dev-cd7b4b61063eb55ab7a5f96523e028c9e0914694.zip
op-kernel-dev-cd7b4b61063eb55ab7a5f96523e028c9e0914694.tar.gz
KVM: s390: Add new SIGP order to kernel counters
The new SIGP order Store Additional Status at Address is totally handled by user space, but we should still record the occurrence of this order in the kernel code. Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/sigp.c')
-rw-r--r--arch/s390/kvm/sigp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kvm/sigp.c b/arch/s390/kvm/sigp.c
index 23b1e86..755a733 100644
--- a/arch/s390/kvm/sigp.c
+++ b/arch/s390/kvm/sigp.c
@@ -393,6 +393,9 @@ static int handle_sigp_order_in_user_space(struct kvm_vcpu *vcpu, u8 order_code)
case SIGP_STORE_STATUS_AT_ADDRESS:
vcpu->stat.instruction_sigp_store_status++;
break;
+ case SIGP_STORE_ADDITIONAL_STATUS:
+ vcpu->stat.instruction_sigp_store_adtl_status++;
+ break;
case SIGP_SET_PREFIX:
vcpu->stat.instruction_sigp_prefix++;
break;
OpenPOWER on IntegriCloud