aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2019-03-05 05:30:02 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2019-04-26 09:08:17 +0200
commit8b905d28ee17795c939813b2f6947829774619b9 (patch)
tree1926b9c6429067d79b898fedce16e7139a95f3ab /arch/s390/include/asm/kvm_host.h
parentKVM: polling: add architecture backend to disable polling (diff)
downloadlinux-dev-8b905d28ee17795c939813b2f6947829774619b9.tar.xz
linux-dev-8b905d28ee17795c939813b2f6947829774619b9.zip
KVM: s390: provide kvm_arch_no_poll function
We do track the current steal time of the host CPUs. Let us use this value to disable halt polling if the steal time goes beyond a configured value. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r--arch/s390/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h
index e224246ff93c..bdbc81b5bc91 100644
--- a/arch/s390/include/asm/kvm_host.h
+++ b/arch/s390/include/asm/kvm_host.h
@@ -313,6 +313,7 @@ struct kvm_vcpu_stat {
u64 halt_successful_poll;
u64 halt_attempted_poll;
u64 halt_poll_invalid;
+ u64 halt_no_poll_steal;
u64 halt_wakeup;
u64 instruction_lctl;
u64 instruction_lctlg;