summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2018-01-23 07:28:40 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2018-01-24 10:49:02 -0500
commita37cb07a30f0a181bc45c6970e486ac2992e9cde (patch)
tree6f8d5fac8d50742efba135d72b6ac2b9811220f5 /arch/s390/include
parent866c138c32547b690e4cab3cd209c763508a95ab (diff)
KVM: s390: add vcpu stat counters for many instruction
The overall instruction counter is larger than the sum of the single counters. We should try to catch all instruction handlers to make this match the summary counter. Let us add sck,tb,sske,iske,rrbe,tb,tpi,tsch,lpsw,pswe.... and remove other unused ones. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Janosch Frank <frankja@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/kvm_host.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index e16a9f2a44ad..029e8144c6ec 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -2,7 +2,7 @@
2/* 2/*
3 * definition for kernel virtual machines on s390 3 * definition for kernel virtual machines on s390
4 * 4 *
5 * Copyright IBM Corp. 2008, 2009 5 * Copyright IBM Corp. 2008, 2018
6 * 6 *
7 * Author(s): Carsten Otte <cotte@de.ibm.com> 7 * Author(s): Carsten Otte <cotte@de.ibm.com>
8 */ 8 */
@@ -316,18 +316,30 @@ struct kvm_vcpu_stat {
316 u64 deliver_program_int; 316 u64 deliver_program_int;
317 u64 deliver_io_int; 317 u64 deliver_io_int;
318 u64 exit_wait_state; 318 u64 exit_wait_state;
319 u64 instruction_epsw;
320 u64 instruction_gs;
321 u64 instruction_io_other;
322 u64 instruction_lpsw;
323 u64 instruction_lpswe;
319 u64 instruction_pfmf; 324 u64 instruction_pfmf;
325 u64 instruction_ptff;
326 u64 instruction_sck;
327 u64 instruction_sckpf;
320 u64 instruction_stidp; 328 u64 instruction_stidp;
321 u64 instruction_spx; 329 u64 instruction_spx;
322 u64 instruction_stpx; 330 u64 instruction_stpx;
323 u64 instruction_stap; 331 u64 instruction_stap;
324 u64 instruction_storage_key; 332 u64 instruction_iske;
333 u64 instruction_ri;
334 u64 instruction_rrbe;
335 u64 instruction_sske;
325 u64 instruction_ipte_interlock; 336 u64 instruction_ipte_interlock;
326 u64 instruction_stsch;
327 u64 instruction_chsc;
328 u64 instruction_stsi; 337 u64 instruction_stsi;
329 u64 instruction_stfl; 338 u64 instruction_stfl;
339 u64 instruction_tb;
340 u64 instruction_tpi;
330 u64 instruction_tprot; 341 u64 instruction_tprot;
342 u64 instruction_tsch;
331 u64 instruction_sie; 343 u64 instruction_sie;
332 u64 instruction_essa; 344 u64 instruction_essa;
333 u64 instruction_sthyi; 345 u64 instruction_sthyi;
@@ -353,6 +365,7 @@ struct kvm_vcpu_stat {
353 u64 diagnose_258; 365 u64 diagnose_258;
354 u64 diagnose_308; 366 u64 diagnose_308;
355 u64 diagnose_500; 367 u64 diagnose_500;
368 u64 diagnose_other;
356}; 369};
357 370
358#define PGM_OPERATION 0x01 371#define PGM_OPERATION 0x01