Merge tag 'regulator-fix-v5.15-rc2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / include / linux / kvm_types.h
index ed6a985..2237abb 100644 (file)
@@ -76,8 +76,11 @@ struct kvm_mmu_memory_cache {
 };
 #endif
 
+#define HALT_POLL_HIST_COUNT                   32
+
 struct kvm_vm_stat_generic {
        u64 remote_tlb_flush;
+       u64 remote_tlb_flush_requests;
 };
 
 struct kvm_vcpu_stat_generic {
@@ -87,6 +90,10 @@ struct kvm_vcpu_stat_generic {
        u64 halt_wakeup;
        u64 halt_poll_success_ns;
        u64 halt_poll_fail_ns;
+       u64 halt_wait_ns;
+       u64 halt_poll_success_hist[HALT_POLL_HIST_COUNT];
+       u64 halt_poll_fail_hist[HALT_POLL_HIST_COUNT];
+       u64 halt_wait_hist[HALT_POLL_HIST_COUNT];
 };
 
 #define KVM_STATS_NAME_SIZE    48