summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/x86_64/pmu_event_filter_test.c
AgeCommit message (Expand)AuthorFilesLines
2024-06-10KVM: selftests: Treat AMD Family 17h+ as supporting branch insns retiredManali Shukla1-30/+5
2024-04-29KVM: selftests: Init IDT and exception handlers for all VMs/vCPUs on x86Sean Christopherson1-6/+0
2024-04-29KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson1-3/+0
2024-03-11Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-98/+45
2024-01-31KVM: selftests: Add a helper to query if the PMU module param is enabledSean Christopherson1-1/+1
2024-01-31KVM: selftests: Add pmu.h and lib/pmu.c for common PMU assetsJinrong Liang1-97/+44
2024-01-30KVM: selftests: x86_64: Remove redundant newlinesAndrew Jones1-1/+1
2023-08-17KVM: selftests: Test gp event filters don't affect fixed event filtersJinrong Liang1-0/+27
2023-08-17KVM: selftests: Test if event filter meets expectations on fixed countersJinrong Liang1-0/+80
2023-08-17KVM: selftests: Add test cases for unsupported PMU event filter input valuesJinrong Liang1-0/+26
2023-08-17KVM: selftests: Introduce "struct __kvm_pmu_event_filter" to manipulate filterJinrong Liang1-92/+90
2023-08-17KVM: selftests: Drop the return of remove_event()Jinrong Liang1-3/+1
2023-04-26Merge tag 'kvm-x86-selftests-6.4' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-0/+1
2023-04-14KVM: selftests: Test the PMU event "Instructions retired"Aaron Lewis1-2/+32
2023-04-14KVM: selftests: Copy full counter values from guest in PMU event filter testSean Christopherson1-90/+80
2023-04-14KVM: selftests: Use error codes to signal errors in PMU event filter testSean Christopherson1-8/+8
2023-04-14KVM: selftests: Print detailed info in PMU event filter assertsAaron Lewis1-6/+5
2023-04-14KVM: selftests: Add helpers for PMC asserts in PMU event filter testAaron Lewis1-25/+27
2023-04-14KVM: selftests: Add a common helper for the PMU event filter guest codeAaron Lewis1-11/+18
2023-03-25KVM: selftests: Report enable_pmu module value when test is skippedLike Xu1-0/+1
2023-03-14KVM: selftests: Make vCPU exit reason test assertion commonVipin Sharma1-5/+1
2023-02-15Merge tag 'kvm-x86-selftests-6.3' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini1-2/+2
2023-01-24KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel)Vishal Annapurve1-2/+2
2023-01-24KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queriesVishal Annapurve1-2/+2
2023-01-24KVM: selftests: Test masked events in PMU filterAaron Lewis1-2/+336
2023-01-24KVM: selftests: Add testing for KVM_SET_PMU_EVENT_FILTERAaron Lewis1-0/+36
2023-01-24KVM: selftests: Add flags when creating a pmu event filterAaron Lewis1-4/+5
2022-11-17KVM: selftests: Add and use KVM helpers for x86 Family and ModelSean Christopherson1-12/+11
2022-11-17KVM: selftests: Add PMU feature framework, use in PMU event filter testSean Christopherson1-44/+7
2022-11-17KVM: selftests: move common startup logic to kvm_util.cVishal Annapurve1-3/+0
2022-07-14KVM: selftests: Drop unnecessary use of kvm_get_supported_cpuid_index()Sean Christopherson1-2/+2
2022-07-14KVM: selftests: Make get_supported_cpuid() returns "const"Sean Christopherson1-5/+5
2022-06-14KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possibleSean Christopherson1-1/+1
2022-06-11KVM: selftests: Sanity check input to ioctls() at build timeSean Christopherson1-1/+1
2022-06-11KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+pasteSean Christopherson1-20/+5
2022-06-11KVM: selftests: Move per-VM/per-vCPU nr pages calculation to __vm_create()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Purge vm+vcpu_id == vcpu sillinessSean Christopherson1-4/+4
2022-06-11KVM: selftests: Rename vm_vcpu_add* helpers to better show relationshipsSean Christopherson1-1/+1
2022-06-11KVM: selftests: Return created vcpu from vm_vcpu_add_default()Sean Christopherson1-3/+1
2022-06-11KVM: selftests: Convert pmu_event_filter_test away from VCPU_IDSean Christopherson1-36/+39
2022-06-11KVM: selftests: Make vm_create() a wrapper that specifies VM_MODE_DEFAULTSean Christopherson1-1/+1
2022-06-11KVM: selftests: Rename vm_create_without_vcpus() => vm_create()Sean Christopherson1-1/+1
2022-06-11KVM: selftests: Simplify KVM_ENABLE_CAP helper APIsSean Christopherson1-4/+1
2022-06-11KVM: sefltests: Use vm_ioctl() and __vm_ioctl() helpersSean Christopherson1-1/+1
2022-05-20selftests: kvm/x86: Verify the pmu event filter matches the correct eventAaron Lewis1-0/+19
2022-05-20selftests: kvm/x86: Add the helper function create_pmu_event_filterAaron Lewis1-4/+14
2022-02-25KVM: selftests: Verify disabling PMU virtualization via KVM_CAP_CONFIG_PMUDavid Dunn1-0/+33
2022-01-20selftests: kvm/x86: Fix the warning in pmu_event_filter_test.cJinrong Liang1-4/+0
2022-01-19selftests: kvm/x86: Add test for KVM_SET_PMU_EVENT_FILTERJim Mattson1-0/+438