[PATCH 0/2] Fix "Instructions Retired" from incorrectly counting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes an issue with the PMU event "Instructions Retired"
(0xc0), then tests the fix to verify it works.  Running the test
updates without the fix will result in the following test assert.

"Disallowed PMU event, instructions retired, is counting"

Aaron Lewis (2):
  KVM: x86/pmu: Prevent the PMU from counting disallowed events
  KVM: selftests: Test the PMU event "Instructions retired"

 arch/x86/kvm/pmu.c                            |   4 +-
 .../kvm/x86_64/pmu_event_filter_test.c        | 157 ++++++++++++------
 2 files changed, 113 insertions(+), 48 deletions(-)

-- 
2.39.0.rc1.256.g54fd8350bd-goog




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux