KVM: x86/pmu: prepare the pmu event filter for masked events
authorAaron Lewis <aaronlewis@google.com>
Tue, 20 Dec 2022 16:12:32 +0000 (16:12 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:06:11 +0000 (10:06 -0800)
commitc5a287fa0dccd3e43a6ea5602191f9ac09a68889
tree16ce01a62812f93d78a4432369edd36fbd68e551
parent8589827fd5342b0ae3703e3093a946d708c44f3a
KVM: x86/pmu: prepare the pmu event filter for masked events

Refactor check_pmu_event_filter() in preparation for masked events.

No functional changes intended

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Link: https://lore.kernel.org/r/20221220161236.555143-4-aaronlewis@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/pmu.c